20.08.2017, 17:25
I'm trying to make a Taser.
It's not working.
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { if(gPlayerClass[playerid] == Policeman) { if(issuerid != INVALID_PLAYER_ID && weaponid == 23) { ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); } } return 1; }