open.mp forum
How hook streamer [plugin] calbacks? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: How hook streamer [plugin] calbacks? (/showthread.php?tid=1255)



How hook streamer [plugin] calbacks? - poiq - 2020-10-18

With YSI


RE: How hook streamer [plugin] calbacks? - Josh - 2020-10-18

PHP Code:
hook OnPlayerShootDynObject(playeridweaponidobjectidFloat:xFloat:yFloat:z)

{







YSI has shortened replacements in case you reach the pawn max function name limit you can see them here: https://github.com/pawn-lang/YSI-Includes/blob/1a51fa67ca98ae14c78fb193af6d92634d548f84/YSI_Coding/y_hooks/y_hooks_impl.inc#L99