22.07.2018, 16:27
here it is
hope i helped you
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { if(GetPlayerWeapon(killerid) == 0) return Kick(killerid); // 0 is the id of fist you can get other ids here https://sampwiki.blast.hk/wiki/Weapons } return 1; }