Quote:
Originally Posted by Skavanovski
pawn Код:
public OnRconLoginAttempt(ip[], password[], success) { new string[256]; for(new i = 0; i < MAX_PLAYERS; i++) { if(success) { if(PlayerAdminLevel[i] < 3) { Kick(i); } } } return 1; }
Replace the following line with your script's admin level variable identifier:
pawn Код:
if(PlayerAdminLevel[i] < 3)
|
From my understanding, it will kick everyone in the server who is not an admin. Also, why did you create a string?