ToggleObjectRespawn: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{Client function}}
{{Client function}}


{{New items|3.0140|1.4|
{{New feature/item|3.0132|1.3.2|5170|
This function is used to toggle if an object should respawn after it got destroyed
This function is used to toggle if an object should respawn after it got destroyed
}}
}}

Revision as of 12:06, 24 June 2013

This function is used to toggle if an object should respawn after it got destroyed

Syntax

bool toggleObjectRespawn( object theObject, bool respawn )

Required Arguments

  • theObject: The object you want to toggle the respawn from
  • respawn : A bool denoting whether we want to enable (true) or disable (false) respawning

Returns

Returns true when the it was changed successfully, or false otherwise.

Requirements

This template will be deleted.

Example

-- Todo

See Also