GetElementCollisionsEnabled

From Multi Theft Auto: Wiki
Revision as of 05:35, 21 November 2011 by OpenIDUser32 (talk | contribs)
Jump to navigation Jump to search

This function indicates if a specific element is set to have collisions disabled. An element without collisions does not interact with the physical environment and remains static.

Syntax

bool getElementCollisionsEnabled ( element theElement ) 

Required Arguments

  • theElement: The element for which you want to check whether collisions are enabled

Returns

Returns true if the collisions are enabled, false otherwise.

Example

Accessories-text-editor.png Script Example Missing Function GetElementCollisionsEnabled needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See Also