Players getting admin? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Players getting admin? (
/showthread.php?tid=120597)
Players getting admin? -
jesuschristlordandsavior - 11.01.2010
My server (using Ladmin 4) has this bug where the person to get an ID that an admin had then they get his level admin. So a first time player gets level 5 admin as soon as he joins and starts messing everything up.
Any way to fix it?
Re: Players getting admin? -
Mattjones17 - 11.01.2010
Use OnPlayerDisconnect to set their ID as a normal player?
Re: Players getting admin? -
Finn - 11.01.2010
Reset all player arrays in
OnPlayerConnect.
Re: Players getting admin? -
Mattjones17 - 11.01.2010
or that
Re: Players getting admin? -
Jakku - 12.01.2010
As
Finn said, you have to reset the admin status when a new player connects.