kts.GetRespawnFunction

Name

kts.GetRespawnFunction – get the current respawn function

Synopsis

result = kts.GetRespawnFunction()

Description

Retrieves the current respawn function if there is one. See kts.SetRespawnFunction for details.

Return Value

Returns a Lua function, or nil if no respawn function is currently set.

Errors

None.

See Also

kts.SetRespawnFunction