How can I make a save cash timer? [MySql]
#4

You don't. Clearly "P_Data[i][pCash]" gets updated somehwere. It is at that point that the query must be sent, not in some arbitrary intervals. If you only have lines like:
pawn Код:
P_Data[playeird][pCash] += 1000;
Then you should write a function which does that job AND which updates the database.
Reply


Messages In This Thread
How can I make a save cash timer? [MySql] - by andreistalker - 08.08.2015, 13:40
Re: How can I make a save cash timer? [MySql] - by liquor - 08.08.2015, 13:45
Re: How can I make a save cash timer? [MySql] - by X337 - 08.08.2015, 13:47
Re: How can I make a save cash timer? [MySql] - by Vince - 08.08.2015, 13:48
Re: How can I make a save cash timer? [MySql] - by andreistalker - 08.08.2015, 14:25
Re: How can I make a save cash timer? [MySql] - by andreistalker - 08.08.2015, 14:27
Re: How can I make a save cash timer? [MySql] - by andreistalker - 08.08.2015, 14:35
Re: How can I make a save cash timer? [MySql] - by andreistalker - 08.08.2015, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)