05.05.2010, 21:45
metes por exemplo
pawn Code:
public ANTIJP(playerid)
{
new
string[128];
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && Spawned[i] == 1 && !IsPlayerAdmin(playerid))
{
if(GetPlayerSpecialAction(i) == 2)
{
new
name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s foi banido Motivo: Jet Pack.",name);
SendClientMessageToAll(COLOR_RED, string);
Ban(playerid);
}
}
}
return 1;
}