SetPickupRespawnInterval

From Multi Theft Auto: Wiki
Revision as of 19:00, 27 February 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Server function}} Sets the time it takes for a pickup to respawn after a player picked it up. ==Syntax== <syntaxhighlight lang="lua"> bool setPickupRespawnInterval ( pickup thePickup, int ms ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the time it takes for a pickup to respawn after a player picked it up.

Syntax

bool setPickupRespawnInterval ( pickup thePickup, int ms )

Required Arguments

  • thePickup: the pickup to set the respawn time of
  • ms: the new respawn time in ms

Returns

Returns true if the new respawn time was set successfully, false otherwise.

Example

See Also