17.11.2014, 11:59
Код:
dcmd_banip(playerid,params[]) { new ip[32], dformat[64]; if(AccInfo[playerid][Level] >= 5) return SendClientMessage(playerid,0xff0000ff,"You Are Not Admin!"); if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,LIGHTBLUE2,"USAGE: /unbanip [ip]"); if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,orange,"Function: Will UnBan the Ip Of specified player"); format(dformat,sizeof dformat,"banip %s",ip); SendRconCommand(dformat); return 1; }