setWeaponPickupPrice

From GTA Connected
Revision as of 18:49, 7 May 2020 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = function |name = setWeaponPickupPrice |usage = set the price required for a weapon pickup |parameters = int weaponId, int price |parame...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void setWeaponPickupPrice(int weaponId, int price)

The setWeaponPickupPrice function is used to set the price required for a weapon pickup.

Parameters

1) int weaponId The weapon ID.
2) int price The price for the pickups of a certain weapon type.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png getPickupCount
icon-iii.png icon-vc.png icon-sa.png getPickups
icon-vc.png getWeaponPickupPrice
icon-iii.png icon-vc.png icon-sa.png gta.createPickup
icon-iii.png gta.enableHelpPickup
icon-iii.png gta.removeHelpPickup
icon-iii.png gta.removeHelpPickups
icon-iii.png icon-vc.png icon-sa.png setWeaponPickupPrice

icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.children
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.clearExistsFor
icon-iii.png icon-vc.png icon-sa.png pickup.collected
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.dimension
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.existsFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.getData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.getRotation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.id
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.isCreatedFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.isLocal
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.isOwner
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.isSyncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.isType
icon-iii.png icon-vc.png icon-sa.png pickup.modelIndex
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.netFlags
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.parent
icon-iii.png icon-vc.png icon-sa.png pickup.pickupType
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.position
icon-iii.png icon-vc.png icon-sa.png pickup.quantity
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.removeAllData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.removeData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.resource
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.rotation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.setData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.setExistsFor
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.setRotation
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.setSyncer
icon-iii.png icon-vc.png icon-sa.png pickup.spawnTime
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.streamInDistance
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.streamOutDistance
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.syncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.syncerId
icon-iii.png icon-vc.png icon-sa.png icon-iv.png pickup.type