DestroyPickup
From Onset Developer Wiki
Description
Destroy a pickup created with CreatePickup.
Syntax
DestroyPickup(pickup)
Parameters
- pickup
The pickup identifier.
Return Value
- Returns true on success.
Example
local pickupId = CreatePickup(818, 130222.4296875, 80253.5859375, 1659.2888183594)
DestroyPickup(pickupId)
See also
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupDimension
- GetPickupDimension
- SetPickupVisibility
- SetPickupOutline
- IsPickupStreamedIn