25.08.2011, 17:46
pawn Код:
CMD:unbanip(playerid,params[])
{
new Ip[16];
if(PlayerData[playerid][AdminLevel] < 2) return 0;
if(sscanf(params,"s[16]",Ip)) return SendClientMessage(playerid,0xFFFF6CFF,"USAGE: /unbanip <ip>");
format(str,sizeof(str),"unbanip %s",Ip);
SendRconCommand(str);
SendRconCommand("reloadbans");
return 1;
}