05.01.2012, 09:04
pawn Код:
CMD:banip(playerid, params[])
{
new
type[ 128 ],
string[ 128 ]
;
if(sscanf(params, "s[128]", type)) SendClientMessage(playerid, -1, "Usage: /banip [IP]");
else
{
format(string, sizeof(string),"banip %s", type);
SendRconCommand(string);
SendRconCommand("reloadbans");
}
return true;
}