IsPickupSpawned

From Multi Theft Auto: Wiki
Revision as of 19:02, 27 February 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Server function}} This function checks if a pickup is currently spawned (is visible and can be picked up) or not (a player picked it up recently). ==Syntax== <syntaxhighlight lang="lua"> bool...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function checks if a pickup is currently spawned (is visible and can be picked up) or not (a player picked it up recently).

Syntax

bool isPickupSpawned ( pickup thePickup )

Required Arguments

  • thePickup: the pickup you want to check.

Returns

Returns true if the pickup is spawned, false if it's not spawned or an invalid pickup was specified.

Example

See Also