04A6

From GTAMods Wiki
Revision as of 08:11, 5 September 2015 by Spaceeinstein (talk | contribs) (Created page with "thumb|04A6 pickup in Vice City {{Icon|VC}} {{Icon|SA}} '''CREATE_<wbr>PROTECTION_<wbr>PICKUP''' <hr /> '''Description''' : Creates an asset revenue [[pickup]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
04A6 pickup in Vice City

Vice City San Andreas CREATE_PROTECTION_PICKUP


Description

Creates an asset revenue pickup

Syntax

04A6: [var] = create_asset_money_pickup_at [flt1] [flt2] [flt3] money [int1] rate [int2]

Parameter

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

This opcode creates a type 16 asset revenue pickup. It uses the bigdollar DFF model. Unlike other pickups, pickups of this type do not disappear when the player character walks over them. Money, which is displayed above the pickup, rises up to the set revenue limit and can be collected by walking through the pickup. The larger the revenue rate value, the faster the money rises. The pickup does not allow collection or display a value if there is less than $10 revenue. The money pauses from rising if the player character is within 10 units of the pickup. This pickup is generally used for businesses involved in protection rackets.

Keywords

create, protection, asset, money, cash, revenue, pickup