Difference between revisions of "0109"
Jump to navigation
Jump to search
m |
|||
Line 21: | Line 21: | ||
==See also== | ==See also== | ||
− | * [[010A]] | + | * [[010A]] – checks if the player's money is greater than value |
* [[010B]] – stores the player's money | * [[010B]] – stores the player's money | ||
Revision as of 20:42, 22 June 2015
Description
- Adds the player's money
Syntax
- 0109: player [player handle] money += [int]
Parameters
- [player handle]
- The handle of the player
- [int]
- Amount of money to add
Native analog
Adds the integer value to the player's current amount of money. A negative value subtracts the player's money.
GTA III's upper limit for the money balance is $2,147,483,647. An additional reward will cause an integer overflow and the money negates to -$2,147,483,648[1]. Vice City introduced new upper limit $999,999,999, and the player's money can not go below $0. Negative money balance is possible in San Andreas along with the same upper limit.
Keywords
player, add, money, cash, score
See also
Notes
- ^ GTAForums topic – Negative Money Amount Issue