18.05.2010, 17:14
Anti Drive - By
Code:
public OnPlayerDeath(playerid, killerid, reason) { if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER) { new nick[MAX_PLAYER_NAME]; GetPlayerName(killerid,nick,sizeof(nick)); format(string,sizeof(string),"[Anti - Noob]O jogador %s foi kickado por Drive-By.",nick); SendClientMessageToAll(0xFFFFFFAA,string); Kick(killerid); } return 1; }