Difference between revisions of "02E1"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
[[File:02E1.png|thumb|02E1 pickup in Vice City]] | [[File:02E1.png|thumb|02E1 pickup in Vice City]] | ||
− | {{Icon|t}} | + | {{OpCode |
− | < | + | | games = {{Icon|t}} |
− | + | | command = CREATE_<wbr>MONEY_<wbr>PICKUP | |
− | + | | description = Creates a money [[pickup]] | |
− | + | | syntax1 = 02E1: [''var''] = create_cash_pickup [''int''] at [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = Money | |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate | |
− | + | | p3t = [''flt2''] | |
− | + | | p3d = Y-coordinate | |
− | + | | p4t = [''flt3''] | |
− | + | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]] + 0.5 units) | |
− | + | | p5t = [''var''] | |
− | + | | p5d = Variable to store the handle of the pickup | |
− | + | }} | |
− | |||
− | This opcode creates a type 7 money pickup in [[0213#GTA III|GTA III]] and a type 8 money pickup in [[0213#Vice City|Vice City]] and [[0213#San Andreas|San Andreas]]. It uses the <code>money</code> | + | This opcode creates a type 7 money pickup in [[0213#GTA III|GTA III]] and a type 8 money pickup in [[0213#Vice City|Vice City]] and [[0213#San Andreas|San Andreas]]. It uses the [[MatchModelString|<code>money</code> model]]. When it is picked up, the player is given the set amount of money. This opcode is almost equivalent to opcode [[032B]] but with preset parameters. The money pickup type in general can only be picked up once and disappears in 30 seconds after its creation if it is not picked up. |
== Keywords == | == Keywords == | ||
create, cash, money, pickup | create, cash, money, pickup | ||
− | |||
− |
Revision as of 04:11, 25 November 2016
- Description
- Creates a money pickup
- Syntax
- 02E1: [var] = create_cash_pickup [int] at [flt1] [flt2] [flt3]
- Parameter
- [int]
- Money
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z + 0.5 units)
- [var]
- Variable to store the handle of the pickup
This opcode creates a type 7 money pickup in GTA III and a type 8 money pickup in Vice City and San Andreas. It uses the money
model. When it is picked up, the player is given the set amount of money. This opcode is almost equivalent to opcode 032B but with preset parameters. The money pickup type in general can only be picked up once and disappears in 30 seconds after its creation if it is not picked up.
Keywords
create, cash, money, pickup