f**ked up register system
#1

This is the register that i am useing, i removed a load of stuff of it so no one gets my script well the problem is that lets say, PLAYER A has 200 kills and lvl 4 admin then loggs out, and al off a sudden someone new registers and they have HIS STATS!! ahhh well here it is..lol

http://pastebin.com/m5abe9720
Reply
#2

any help? this is about 5th time i posted this on forums and im getting pretty pissed at people ignoreing
Reply
#3

Set all the player's stat variables to 0 in OnPlayerConnect.
Reply
#4

is that all, then its fixed?
Reply
#5

so, like

PlayerInfo[playerid][pAdmin] = 0;

blahblah
Reply
#6

Safest way to go is indeed resetting all values in the PlayerInfo to 0 in OnPlayerConnect.
You can also reset the values in OnPlayerDisconnect after you've written the the disconnected player's stats to his file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)