Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by [B
Vortex ]
Quote:
Originally Posted by [HiC
TheKiller ]
Do something like:
pawn Код:
if(Loggedin[playerid] == 0) { SendCleintMessage(playerid, COLOUR, "LOG THE **** IN!"); Adminlevel[playerid] = 0; }
Change Loggedin to your variable which checks if they are logged in, and change Adminlevel to the admin variable.
|
Where would I put this?
|
You could really put that anywhere. A better way would probably be to give the admin level after they login, not when they connect.
|
I've tried to put pInfo[playerid][Level] = 0 on onplayerconnect, but that just sets their level to 0, making it so if the real admin connects and logs in, they're level is gone.