02E1
Revision as of 23:47, 26 December 2016 by Spaceeinstein (talk | contribs)
- 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 pickup of type PICKUP_MONEY (type 7 in GTA III, type 8 in Vice City and San Andreas) at the coordinates point. It uses a model that matches the name money
. 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