SetPickupRespawnInterval

From Multi Theft Auto: Wiki
Revision as of 05:53, 21 November 2011 by OpenIDUser32 (talk | contribs)
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

Accessories-text-editor.png Script Example Missing Function SetPickupRespawnInterval needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See Also