SetPickupScale
From Onset Developer Wiki
Description
Set's the size scaling of the pickup.
Syntax
SetPickupScale(pickup, sx, sy, sz)
Parameters
- pickup
The pickup identifier. - sx
The scale X axis - sy
The scale Y axis - sz
The scale Z axis
Return Value
- Returns true on success.
Example
local pickup = CreatePickup(1, x, y, z)
SetPickupScale(pickup, 10.0, 10.0, 10.0)
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn