Y-Ini copying players data
#4

Quote:
Originally Posted by SalmaN97
Посмотреть сообщение
resetting scores, play time and money?

that will set everything to 0
No, write the data to the file as normal, then reset the variables, e.g. PlayerInfo[playerid][pAdmin] = 0; - under OnPlayerDisconnect.

Make sure the variable clearance is after the saving code.
Reply


Messages In This Thread
Y-Ini copying players data - by SalmaN97 - 17.04.2015, 13:21
Re: Y-Ini copying players data - by Azula - 17.04.2015, 17:56
Re: Y-Ini copying players data - by SalmaN97 - 17.04.2015, 18:21
Re: Y-Ini copying players data - by PrivatioBoni - 17.04.2015, 18:28
Re: Y-Ini copying players data - by Azula - 17.04.2015, 18:29
Re: Y-Ini copying players data - by SalmaN97 - 17.04.2015, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)