Difference between revisions of "010B"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''STORE_SCORE''' <hr /> '''Description''' : Stores the player's money '''Syntax''' : 010B: [''var''] = player [''player handle''] money '''Parameters''' : ['...")
 
m
 
Line 1: Line 1:
{{Icon|trilogy}} '''STORE_SCORE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = STORE_SCORE
: Stores the player's money
+
| description = Stores the player's money
'''Syntax'''
+
| syntax1    = 010B: [''var''] = player [''player handle''] money
: 010B: [''var''] = player [''player handle''] money
+
| p1t        = [''player handle'']
'''Parameters'''
+
| p1d        = The [[0053|handle of the player]]
: [''var'']
+
| p2t        = [''var'']
:: Variable to store the player's money amount
+
| p2d        = Variable to store the player's money amount
: [''player handle'']
+
| native      = [[STORE_SCORE]]
:: The handle of the player
+
}}
'''Native analog'''
 
: [[STORE_SCORE]]
 
  
Stores the player's current amount of money to the variable.
+
This opcode stores the player's current amount of money to the variable.
  
==Keywords==
+
== Keywords ==
 
player, store, money, cash, score
 
player, store, money, cash, score
  
==See also==
+
== See also ==
* [[0109]] &ndash; adds the player's money
+
* {{Icon|t}} [[0109]], adds the player's money
* [[010A]] &ndash; checks if the player's money is greater than value
+
* {{Icon|t}} [[010A]], checks if the player's money is greater than value
 
 
[[Category:OpCodes]]
 

Latest revision as of 21:47, 26 November 2016

GTA III Vice City San Andreas STORE_SCORE


Description
Stores the player's money
Syntax
010B: [var] = player [player handle] money
Parameter
[player handle]
The handle of the player
[var]
Variable to store the player's money amount
Native analog
STORE_SCORE

This opcode stores the player's current amount of money to the variable.

Keywords

player, store, money, cash, score

See also

  • GTA III Vice City San Andreas 0109, adds the player's money
  • GTA III Vice City San Andreas 010A, checks if the player's money is greater than value