0518

From GTAMods Wiki
Revision as of 18:33, 5 September 2015 by Spaceeinstein (talk | contribs) (Created page with "thumb|0518 pickup in Vice City {{Icon|VC}} {{Icon|SA}} '''CREATE_<wbr>FORSALE_<wbr>PROPERTY_<wbr>PICKUP''' <hr /> '''Description''' : Creates a forsale prope...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
0518 pickup in Vice City

Vice City San Andreas CREATE_FORSALE_PROPERTY_PICKUP


Description

Creates a forsale property pickup

Syntax

0518: [var] = create_available_asset_pickup '[string]' at [flt1] [flt2] [flt3] price [int]

Parameter

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

This opcode creates a type 18 forsale property pickup. It uses the property_fsale DFF model. Walking over the pickup displays a help message using the set GXT string. You can interact with it by pressing the Action button. If you have enough money and the mission flag is not set, money is subtracted from you and the pickup is picked up. If you do not have enough money, GXT string PROP_1 is displayed as the help message. If the mission flag is set, GXT string PROP_2 is displayed.

Keywords

create, for, sale, forsale, property, available, asset, pickup