15.05.2014, 12:03
I think the only Callback for the one you are asking is
Well, It works when a player shoots, doesn't matter if it hit anything/anyone.
Maybe, these callbacks can help you:
And
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
Maybe, these callbacks can help you:
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)