SA-MP Forums Archive
[Solved] Admin System help - 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: [Solved] Admin System help (/showthread.php?tid=100772)



[Solved] Admin System help - _Vortex - 06.10.2009

Hey, I've coded my own admin system, and if someone has their pLevel set to something, and I delete their account, and they register with the same name, or if I set their pLevel to 0 and then they relog back in its back to what it was before.

I have no clue what could be causing this. Please tell me what code you'd like to see, and I'll post it.


Re: Admin System help - aspire5630 - 06.10.2009

Make sure you set all the variables to 0 when they get there account deleted, and when they log out, .etc ?


Re: Admin System help - _Vortex - 06.10.2009

Quote:
Originally Posted by aspire5630
Make sure you set all the variables to 0 when they get there account deleted, and when they log out, .etc ?
I deleted their .ini file, there's no command to delete their file. And there's no logout command, it's not needed. When they register, I make sure it sets their pLevel to 0, so I don't know what could be going on.