Difference between revisions of "0109"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>0109=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Adds the player's money<br>
+
| ini        = 0109=2,%1d% %2d%
'''Parameter 1''': Player handle<br>
+
| description = Adds the player's money
'''Parameter 2''': Integer<br>
+
| p1          = Player handle
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p2          = Integer
 
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
Adds the value in the integer to your current amount of money.
+
| native      = [[ADD_SCORE]]
 +
}}
 +
Adds the value in the second parameter to the player's current amount of money. Negative values work. In GTA 3 and Vice City, the minimum the player can hold is $0. In San Andreas, it can go below $0.
  
 
==Keywords==
 
==Keywords==
 
player, add, money
 
player, add, money
 
[[Category:OpCodes]]
 

Revision as of 00:13, 15 January 2010

{{{games}}}


Description
Adds the player's money
Syntax
{{{syntax1}}}
Parameter
Native analog
ADD_SCORE

Adds the value in the second parameter to the player's current amount of money. Negative values work. In GTA 3 and Vice City, the minimum the player can hold is $0. In San Andreas, it can go below $0.

Keywords

player, add, money