SetPickupRespawnInterval: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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 ...)
 
m (Needs example)
Line 17: Line 17:


==Example==
==Example==
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==See Also==
==See Also==
{{Pickup functions}}
{{Pickup functions}}
[[Category:Needs Example]]

Revision as of 07:21, 19 June 2009

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

--TODO

See Also