07.04.2014, 12:06
ok so i checked in server.cfg there is no "0" things in the rcon line, so here what i get in UG-RP.pwn
Код:
public OnRconLoginAttempt(ip[], password[], success) { if(success) { new pip[16]; ////foreach(Player,i) for(new i; i<MAX_PLAYERS; i++) { GetPlayerIp(i, pip, sizeof(pip)); if(!strcmp(ip, pip, true)) if(PlayerInfo[i][pAdmin] < 3) Ban(i); } }