04.09.2009, 14:26
Why don't you create administration filterscript instead using the /rcon ban ?
look using dcmd
look using dcmd
Код:
dcmd_unbanip(playerid,params[]) { if(PlayerData[playerid][Level] >= 3 || IsPlayerAdmin(playerid)) { new adminname[MAX_PLAYER_NAME]; GetPlayerName(playerid,adminname,sizeof(adminname)); if(!strlen(params)) return msg(playerid,"Correct usage : /unbanip <IP>"); new string[76]; format(string,sizeof(string),"unbanip %s",params); SendRconCommand("string"); printf("%s(ID:%d) used the command unbanip and unbanned ip %s",adminname,playerid,params); } return 1; }