27.06.2013, 14:21
I say, which is what i do, make a function to save data, set a timer. for say, every 10 mins, save the data. Then after every crucial (house buying, money transfers etc) use the function.
If you didn't understand:
SaveData(playerid)
So, (personally) my opinion, create a function, and call it each time you need, as mentioned above.
If you didn't understand:
SaveData(playerid)
pawn Код:
CMD:something(playerid,params[])
{
Stuff
SaveData(playerid);
return 1;
}