vendredi 4 avril 2014

Loss of data in the GMX or RESTART

I have a problem else. I'm using PPCTRUCKING gamemode. What happens is this ... all players playing online, updating the scores ...



Happen if the server goes down, or so I take a RESTART, he loses everything that was saved.



He sometimes even "RESET" the account of the player who is online.



A friend told me to put rescue OnGameModeExit (), and I did, but does not solve.




Quote:








public OnGameModeExit() {

KillTimer(LoteriaX);



for(new i = 0; i < MAX_PLAYERS; i++)

{

PlayerFile_Save(i);

}



for(new i = 0; i < MAX_HOUSES; i++)

{

HouseFile_Save(i);

}



for(new i = 0; i < MAX_BUSINESS; i++)

{

BusinessFile_Save(i);

}



for(new i = 0; i < MAX_PLAYERS; i++)

{

BankFile_Save(i);

}



Could anyone help me? thank you




Aucun commentaire:

Enregistrer un commentaire