Difference between revisions of "04A6"

From GTAMods Wiki
Jump to navigation Jump to search
(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]...")
 
Line 7: Line 7:
 
: 04A6: [''var''] = create_asset_money_pickup_at [''flt1''] [''flt2''] [''flt3''] money [''int1''] rate [''int2'']
 
: 04A6: [''var''] = create_asset_money_pickup_at [''flt1''] [''flt2''] [''flt3''] money [''int1''] rate [''int2'']
 
'''Parameter'''
 
'''Parameter'''
: [''var'']
 
:: Variable to store the handle of the pickup
 
 
: [''flt1'']
 
: [''flt1'']
 
:: X-coordinate
 
:: X-coordinate
Line 19: Line 17:
 
: [''int2'']
 
: [''int2'']
 
:: Revenue rate
 
:: Revenue rate
 +
: [''var'']
 +
:: Variable to store the handle of the pickup
  
 
This opcode creates a [[0213#Pickup types|type 16]] asset revenue pickup. It uses the <code>bigdollar</code> [[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.
 
This opcode creates a [[0213#Pickup types|type 16]] asset revenue pickup. It uses the <code>bigdollar</code> [[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.

Revision as of 00:41, 20 November 2016

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 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