[AJUDA] Sistema de ANTI ARMAS PROIBIDAS
#4

pawn Код:
OnGameModeInit

SetTimer("ARMASPROIBIDAS", 1000, true);

forward ARMASPROIBIDAS();
public ARMASPROIBIDAS()
{  
for(new i = 0; i < MAX_PLAYERS; ++i)
    {
if(GetPlayerWeapon(i) == 35)
{
new sendername[MAX_PLAYER_NAME];
new string[60];
GetPlayerName(i, sendername, sizeof(sendername));
format(string, sizeof(string), "Anti-Armas: %s foi banido por usar arma proнbida.", sendername));
SendClientMessageToAll(0xFF7777AA, string);
Ban(i);
}
}
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)