ToggleObjectRespawn

From Multi Theft Auto: Wiki
Revision as of 20:56, 30 January 2013 by UniOnDennis (talk | contribs) (Created page with "{{client function}} {{New items|3.0152|1.4| This function is used to toggle if an object should respawn after it got destroyed }} ==Syntax== <syntaxhighlight lang="lua"> bool toggleObjectResp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows