Question [+REP]
#6

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
Why you put that?

Код:
GivePlayerMoney(playerid, 50000);
Money[playerid] += 50000
Hmm, Because if player money variable isn't updated, it will show the textdraw everytime he gets cash from admin command / reaction tests / or any server side cash source, Sorry i thought you need only to check if money updated in client only, If you need it to show everytime money update from client / server, just don't use it while giving cash
Also i didn't meant to put it exactly
I mean, update the variable everytime you give the player cash
Reply


Messages In This Thread
Question [+REP] - by SecretBoss - 24.09.2015, 13:47
Re: Question [+REP] - by karemmahmed22 - 24.09.2015, 13:52
Re: Question [+REP] - by SecretBoss - 24.09.2015, 13:53
Re: Question [+REP] - by TheSnaKe - 24.09.2015, 13:54
Re: Question [+REP] - by SecretBoss - 24.09.2015, 13:56
Re: Question [+REP] - by karemmahmed22 - 24.09.2015, 13:57
Re: Question [+REP] - by SecretBoss - 24.09.2015, 13:58
Re: Question [+REP] - by karemmahmed22 - 24.09.2015, 14:02
Re: Question [+REP] - by SecretBoss - 24.09.2015, 14:05
Re: Question [+REP] - by karemmahmed22 - 24.09.2015, 14:13

Forum Jump:


Users browsing this thread: 3 Guest(s)