Please help me naughty bug y_ini register - 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: Please help me naughty bug y_ini register (
/showthread.php?tid=317041)
Please help me naughty bug y_ini register -
demonarn - 09.02.2012
Hello i have something like this system
https://sampforum.blast.hk/showthread.php?tid=273088
And it works fine except that if someone makes an account with a somekind similar name it takes over the admin level and places it in the other account.
Could you help me?
PS: if you need to see a part of the code just ask i dont really know what to show you D:
Re: Please help me naughty bug y_ini register -
ryansheilds - 09.02.2012
Add this "OnPlayerConnect"
pawn Код:
PlayerInfo[playerid][pAdmin] = 0;
This will reset the admin level to 0, you need to reset all their stats too.
Re: Please help me naughty bug y_ini register -
demonarn - 09.02.2012
Shouldnt i remake my own stats to then ?