30.11.2009, 21:53
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:
and at the end of the command put:
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
}
pawn Код:
SavePlayer(playerid);