GetPickupRespawnInterval

From Multi Theft Auto: Wiki
Revision as of 18:57, 27 February 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Server function}} Returns the time it takes before a pickup respawns after a player picked it up. The time is specified in milliseconds. ==Syntax== <syntaxhighlight lang="lua"> int getPickupRe...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the time it takes before a pickup respawns after a player picked it up. The time is specified in milliseconds.

Syntax

int getPickupRespawnInterval ( pickup thePickup )

Required Arguments

  • thePickup: the pickup you want the respawn time of

Returns

Returns the respawn time of the pickup if successful, false in case of failure.

Example

See Also