SA-MP Forums Archive
Bug on Admin Script - 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: Bug on Admin Script (/showthread.php?tid=123063)



Bug on Admin Script - Torran - 24.01.2010

I went ingame and Registered, It automatically logged me in,
I went off the game and changed my level on my file,
Then went back ingame, And it sent me no message?
No register or please login or anything like that,
So i typed /login password and it said i must register before i can do that,
Which i had already done, So i typed /register password, And it registered me?
Whats wrong?

http://pastebin.com/m5e987891


Re: Bug on Admin Script - Niixie - 24.01.2010

Line 201: gPlayerInfo[playerid][PLAYER_REGGED] = 0;

I guess thats the bug. it sets you to unregistered, and when you connect next time you'll get a message where you need to register.
Didnt read the hole script so dont know if thats it


Re: Bug on Admin Script - Torran - 24.01.2010

Ok, Anyway to fix that?


Re: Bug on Admin Script - Niixie - 24.01.2010

Try to commect line 201

and see, if that doesnt work ill look closer to it


Re: Bug on Admin Script - Torran - 24.01.2010

Quote:
Originally Posted by Niixie
Try to commect line 201

and see, if that doesnt work ill look closer to it
Ok i will


Re: Bug on Admin Script - Torran - 24.01.2010

Still the same