Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement