19.01.2017, 10:24
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
Paste it here whatever it might look like
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) |