f(strcmp(cmd,"/unban",true)==0) { if(PlayerInfo[playerid][Level] >= 3) { new tmp[256], ban; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, red, "USAGE: /unban [id of the ban from the ban list] "); ban = strval(tmp); tmp = strtok(cmdtext, idx); new file[256]; format(file,sizeof(file),"bans.cfg"); CMDMessageToAdmins(playerid,"unban"); if(ban == 1) { format(string, sizeof(string), "unbanip %s",lol); SendRconCommand(string); SendRconCommand("reloadbans"); } if(ban == 2) { format(string, sizeof(string), "unbanip %s",lol1); SendRconCommand(string); SendRconCommand("reloadbans"); } } return 1; }