13.10.2015, 14:17
Quote:
Put this where you want
Код:
if(GetPlayerWeapon(playerid) == WEAPON_BAT) { //do something } Weapon IDs: https://sampwiki.blast.hk/wiki/Weapons GetPlayerWeapon: https://sampwiki.blast.hk/wiki/GetPlayerWeapon |
I need to make a callback that gets called every time player swings/hits a melee weapon, just like OnPlayerWeaponShot