GetElementCollisionsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server client function}} __NOTOC__ This function indicates if a specific element is set to have collisions disabled. An element without collisions does not interact with the ...")
 
No edit summary
Line 15: Line 15:


==Example==  
==Example==  
<syntaxhighlight lang="lua">
{{Example}}
-- TODO
</syntaxhighlight>


==See Also==
==See Also==
{{Element functions}}
{{Element functions}}
[[Category:Needs_Example]]

Revision as of 05:35, 21 November 2011

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