Script makes ppl admins - 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: Script makes ppl admins (
/showthread.php?tid=164110)
Script makes ppl admins -
Saurik - 30.07.2010
Randomly the script makes a person admin, i check player files and their lvl is 0 ....
Can someone help? hows this possible
Re: Script makes ppl admins -
Mr187 - 30.07.2010
Make sure no rcon way to give yourself admin also its a scripting problem likely not server sided.
Re: Script makes ppl admins -
Code_Red - 30.07.2010
im no genius but i think it has something to do with one of you're admin scripts
Re: Script makes ppl admins -
Saurik - 30.07.2010
It's custom and it's in my gm
Re: Script makes ppl admins -
Calgon - 30.07.2010
If you're not using PVars, do you reset the admin level variable when a player connects?
Re: Script makes ppl admins -
Saurik - 30.07.2010
yes i have this onplayerconnect
PlayerInfo[Player][AdminLevel] = 0;
Re: Script makes ppl admins -
Hiddos - 30.07.2010
It's possible because your lack of scripting.
Check for any code that sets admin levels, and see how it may bug up.
Re: Script makes ppl admins -
FireCat - 30.07.2010
humm mabe you have a problem with your admin script
Re: Script makes ppl admins - Guest3598475934857938411 - 31.07.2010
Checkk your admin script but i know a thing that might fix ya up! Its AccountInfo[playerid[level=0 its not exactly as yours because you might be using a different admin sys but something like that on OnPlayerConnect!
Re: Script makes ppl admins -
Calgon - 31.07.2010
Quote:
Originally Posted by Saurik
yes i have this onplayerconnect
PlayerInfo[Player][AdminLevel] = 0;
|
>Player<? I assume conforms to the returned playerid variable for the OnPlayerConnect callback?