Difference between revisions of "010B"
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| | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = STORE_SCORE | |
− | + | | description = Stores the player's money | |
− | + | | syntax1 = 010B: [''var''] = player [''player handle''] money | |
− | + | | p1t = [''player handle''] | |
− | '' | + | | p1d = The [[0053|handle of the player]] |
− | + | | p2t = [''var''] | |
− | + | | p2d = Variable to store the player's money amount | |
− | + | | native = [[STORE_SCORE]] | |
− | + | }} | |
− | |||
− | |||
− | + | 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]] | + | * {{Icon|t}} [[0109]], adds the player's money |
− | * [[010A]] | + | * {{Icon|t}} [[010A]], checks if the player's money is greater than value |
− | |||
− |
Latest revision as of 21:47, 26 November 2016
- 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