02E1

From GTAMods Wiki
Revision as of 01:11, 5 September 2015 by Spaceeinstein (talk | contribs) (Created page with "thumb|02E1 pickup in Vice City {{Icon|t}} '''CREATE_MONEY_PICKUP''' <hr /> '''Description''' : Creates a money pickup '''Syntax''' : 02E1: [''var''] = cr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
02E1 pickup in Vice City

GTA III Vice City San Andreas CREATE_MONEY_PICKUP


Description

Creates a money pickup

Syntax

02E1: [var] = create_cash_pickup [int] at [flt1] [flt2] [flt3]

Parameter

[var]
Variable to store the handle of the pickup
[int]
Money
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or -100.0 for ground z + 0.5 units)

This opcode creates a type 7 money pickup in GTA III and a type 8 money pickup in Vice City. It uses the money DFF 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