IsObjectStatic: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} Use this function to test whether an object is static (not affected by gravity or pushing) or not. ==Syntax== <syntaxhighlight lang="lua"> bool isObjectStatic ( object theOb...)
 
mNo edit summary
Line 2: Line 2:
{{Client function}}
{{Client function}}


Use this function to test whether an object is static (not affected by gravity or pushing) or not.
Use this function to test whether an object is static (unaffected by gravity or pushing) or not.


==Syntax==
==Syntax==

Revision as of 16:56, 30 March 2008

Use this function to test whether an object is static (unaffected by gravity or pushing) or not.

Syntax

bool isObjectStatic ( object theObject )

Required Arguments

  • theObject: the object you want to check.

Returns

Returns true if the specified object is static, false if it is not static or an invalid object was passed.

Example

See Also