setPickupRespawnInterval
Client-side
Server-side
Shared
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
Sets the time it takes for a pickup to respawn after a player picked it up.
Syntax
setPickupRespawnInterval ( )Code Examples
server
This example adds 3000ms to the current pickup respawn time.
addEventHandler("onPickUpHit",root,function(player) interval = getPickupRespawnInterval(source) setPickupRespawnInterval(source,interval + 3000) outputChatBox("That pickup isn't going to be there until "..tostring(interval).." is done.",player)end)