MySQL queries question
#3

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)

pawn Код:
CMD:something(playerid,params[])
{
    Stuff
    SaveData(playerid);
    return 1;
}
So, (personally) my opinion, create a function, and call it each time you need, as mentioned above.
Reply


Messages In This Thread
MySQL queries question - by ReLoaD90 - 27.06.2013, 14:17
Re: MySQL queries question - by Nick_Phelps - 27.06.2013, 14:20
Re: MySQL queries question - by DobbysGamertag - 27.06.2013, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)