- Documentation
- Server functions
- isObjectRespawnable
Function
isObjectRespawnable
Returns whether the object's respawn was enabled with toggleObjectRespawn.
Syntax
bool isObjectRespawnable(object theObject)Arguments
theObjectobject- The object.
Returns
true when enabled.
Example
local obj = createObject(1225, 0, 0, 3)
outputDebugString(tostring(isObjectRespawnable(obj)))