[ Help ] GetPlayerMoney
#1

Hi. I made a bank system this week and all the parts work as I want. Although, today I notice a problem on Deposit.
It gets player's money but if someone has more than $999,999,999 it saves that money and the rest not.
Because I know about the variables that the max value can store is 2,147,483,647 and I just want to prevent this.
So, I made it just reading from the Database and do the mathematical operations then store it on a string.
The only problem is that it gets the money (GetPlayerMoney( playerid )) + (inputtext) to deposit the money and save them.
Is there any way to get player's money without using GetPlayerMoney( playerid ) function and can get more than 1 Billion?

Regards,
Reply


Messages In This Thread
GetPlayerMoney - by Konstantinos - 28.02.2012, 18:24
Re: [ Help ] GetPlayerMoney - by iPLEOMAX - 28.02.2012, 18:27
Re: [ Help ] GetPlayerMoney - by Konstantinos - 28.02.2012, 18:30
Re: [ Help ] GetPlayerMoney - by iPLEOMAX - 28.02.2012, 18:43
Re: [ Help ] GetPlayerMoney - by Konstantinos - 28.02.2012, 18:48
Re: [ Help ] GetPlayerMoney - by iPLEOMAX - 28.02.2012, 18:54
Re: [ Help ] GetPlayerMoney - by Twisted_Insane - 28.02.2012, 18:55
Re: [ Help ] GetPlayerMoney - by milanosie - 28.02.2012, 18:56
Re: [ Help ] GetPlayerMoney - by Konstantinos - 28.02.2012, 18:58

Forum Jump:


Users browsing this thread: 1 Guest(s)