04A6

From GTAModding
Jump to: navigation, 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
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z + 0.5 units)
[int1]
Revenue limit
[int2]
Revenue rate
[var]
Variable to store the handle of the pickup

This opcode creates a type 16 asset revenue pickup. It uses a model that matches the name bigdollar. 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