08.06.2016, 04:52
Quote:
|
Код:
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);
}
}
}
|
Your codes isn't valid.
This line:
Код:
if(PlayerInfo[i][pAdmin] < 3) Ban(i);
HaveFun!


