Random players get maximum admin level [ladmin] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Random players get maximum admin level [ladmin] (
/showthread.php?tid=426983)
Random players get maximum admin level [ladmin] -
CrasherX - 30.03.2013
Hi guys, title says it all, i experience this annoying problem so random players when they connect to server they get level 10.
There's no such thing like Setlevel = 10 or anything related on OnPlayerConnect or anywhere else. As filterscripts i'm using only ladmin4v2 and some animations.
Maybe you guys experienced the same problems? Or you can help me? It will be much appreciated!
Thank you!
LE: btw, ladmin is a bit edited so I can get car lights on daytime.
Re: Random players get maximum admin level [ladmin] -
Pottus - 30.03.2013
Your probably not resetting the level variable when they disconnect.
Re: Random players get maximum admin level [ladmin] -
EliteApple - 31.03.2013
Under on PlayerConnect:
PlayerInfo[playerid][pAdmin] = 0;
^ This may differ, you'll have to do it yourself as some people use PlayerData[playerid][pAdmin], ect.
Re: Random players get maximum admin level [ladmin] -
Gamer_007 - 31.03.2013
For ladmin u use this
pawn Код:
PlayerInfo[playerid][Level] = 0;