Stat saving methods?
#7

Maybe just make it so whenever something happens to a player stats update it to the file automatically, Example:

In a command you earn $100, At the end of the command Write the line of which you save the players money with, Or make a little function that saves all the players stats liek this:

pawn Код:
forward SavePlayer(playerid);
pawn Код:
public SavePlayer(playerid)
{
//Put saving stuff here
}
and at the end of the command put:
pawn Код:
SavePlayer(playerid);
Reply


Messages In This Thread
Stat saving methods? - by ReFuSeR - 30.11.2009, 04:06
Re: Stat saving methods? - by dre$tA - 30.11.2009, 04:25
Re: Stat saving methods? - by ReFuSeR - 30.11.2009, 04:38
Re: Stat saving methods? - by Giacomand - 30.11.2009, 05:36
Re: Stat saving methods? - by Kinetic - 30.11.2009, 06:02
Re: Stat saving methods? - by ReFuSeR - 30.11.2009, 21:43
Re: Stat saving methods? - by miokie - 30.11.2009, 21:53

Forum Jump:


Users browsing this thread: 3 Guest(s)