LighT. Posted November 19, 2010 Posted November 19, 2010 Am un bug la o comanda .. Comanda /unban nu merge , nici /unbanip .. Am incercat in mai multe moduri dar nu stiu cum sa o rezolv.M-ati putea ajuta ?
heker Posted November 19, 2010 Posted November 19, 2010 if(strcmp(cmd,"/unbanip",true)==0) { if(PlayerInfo[playerid][pAdmin] >= 1337) { tmp = strtok(cmdtext,idx); if(!strlen(tmp)) { SendClientMessage(playerid,COLOR_GRAD1,"USAGE: /unbanip [players ip]"); return 1; } format(string,sizeof(string),"unbanip %s",tmp); SendRconCommand(string); SendRconCommand("reloadbans"); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "IP-ul %s a fost unbannat",tmp); SendClientMessage(playerid, COLOR_LIGHTRED, string); } return 1; }Incearco :|
Question
LighT.
Am un bug la o comanda .. Comanda /unban nu merge , nici /unbanip .. Am incercat in mai multe moduri dar nu stiu cum sa o rezolv.M-ati putea ajuta ?
1 answer to this question
Recommended Posts