- Documentation
- Server functions
- getPickupRespawnInterval
Function
getPickupRespawnInterval
Returns the time (ms) after which a collected pickup comes back.
Syntax
int getPickupRespawnInterval(pickup thePickup)Arguments
thePickuppickup- The pickup.
Returns
Time in ms, or false.
Example
local pickup = createPickup(0, 0, 3, 0, 100, 45000)
outputDebugString(getPickupRespawnInterval(pickup) .. " ms")