DestroyPickup: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
28days (talk | contribs)
No edit summary
 
Line 17: Line 17:


{{RelatedFunctions}}
{{RelatedFunctions}}
* [[CreatePickup]]
{{Template:PickupFunctions}}
* [[IsValidPickup]]

Latest revision as of 05:44, 23 November 2019

DestroyPickup

Type: Function
Context: Server
Introduced: v1.0

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