Hook not being called
#7

Ya, the only case it wouldn't fire is when some other hook returns either Y_HOOKS_BREAK_RETURN_0 (-1) or Y_HOOKS_BREAK_RETURN_1 (-2). Double check that none of your files has it (those in pawno/includes as well). If that doesn't yield any results, then
1. Tell us what version of YSI are you using
2. Compile your script with -l (lowercase "L"). Then you'll get an .lst file - in it search for last occurence of OnPlayerWeaponShot, it should look something like
Quote:

@yH_OnPlayerWeaponShot@001(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ);@yH_OnPlayerWeaponShot@001(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)

Paste it here whatever it might look like
Reply


Messages In This Thread
Hook not being called - by wallee - 18.01.2017, 20:09
Re: Hook not being called - by Luicy. - 18.01.2017, 20:14
Re: Hook not being called - by wallee - 18.01.2017, 20:25
Re: Hook not being called - by renatog - 18.01.2017, 20:30
Re: Hook not being called - by wallee - 18.01.2017, 20:46
Re: Hook not being called - by wallee - 19.01.2017, 09:07
Re: Hook not being called - by Misiur - 19.01.2017, 10:24
Re: Hook not being called - by wallee - 19.01.2017, 19:56
Re: Hook not being called - by Luicy. - 19.01.2017, 20:19
Re: Hook not being called - by Misiur - 19.01.2017, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)