Posts: 783
Threads: 101
Joined: May 2009
Reputation:
0
Hey.. I have a huge issue.. If I have level 5, and i join my server, it sets my level to 0.. and I don't have ANYTHING in my script that would do that.. I have a huge headache, trying to fix this.. Idk what could be causing this.. Please help.
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
And how do you store your lvl 5 ?
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
My guess is that you use an array with max_players and when you leave the server as playerid 0, the position 0 in the array will have 5 stored. Then another player will come as id 0 and he'll be lvl5, and when you'll come, you'll be id 1, but the array will have 0 stored in position 1
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
Are you possibly restarting the server ? If not, then just use a storing system, e.g dini. It's simple
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
Then show your OnPlayerDisconnect