RespawnObject

From Multi Theft Auto: Wiki
Revision as of 16:49, 13 January 2013 by MuLTi (talk | contribs) (Created page with "__NOTOC__ {{client function}} This function respawns a specific object. Note: Only breakable objects can respawn. ==Syntax== <syntaxhighlight lang="lua">bool respawnObject ( theObject )</cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function respawns a specific object. Note: Only breakable objects can respawn.

Syntax

bool respawnObject ( theObject )

Required Arguments

Returns

Returns 'true' if the object sucessfully respawned. 'false' if the object is not breakable, or a wrong object was given.

See Also