09.06.2013, 13:00
I think you wanna ban an IP while he's not connected.Something like this:
IsPlayerConnected is not needed.
pawn Код:
format(string,sizeof(string),"banip %s",tmp);
SendRconCommand(string);
SendRconCommand("reloadbans");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "AdmCmd: %s has banned the IP: %s", sendername,tmp);
ABroadCast(COLOR_LIGHTRED,string,1);