IsValidPickup

From Onset Developer Wiki
Revision as of 12:44, 19 November 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IsValidPickup

Type: Function
Context: Server
Introduced: v1.0

Description

Check if the specified pickup is valid or not.

Syntax

IsValidPickup(pickup)

Parameters

  • pickup
    The pickup identifier.

Return Value

  • Returns true on success.

Example

function DestroyPickup(pickup)
	if IsValidPickup(pickup) then
		DestroyPickup(pickup)
	end
end

See also