04.10.2017, 19:56
Quote:
From SA-MP Wiki:
Code:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { if(GetPlayerWeapon(killerid) == 38) Ban(killerid); //Ban if they have a minigun } return 1; } |
Please do not add this code to your server without adding any fake death detection.