GetObjectMass: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Needs_Example}} __NOTOC__ {{client_function}} {{New feature/item|3.0140|1.4|5170| This function returns the mass of a specified object. }} ==Syntax== <syntaxhighlight lang="lua"> float getOb...")
 
No edit summary
Line 2: Line 2:
__NOTOC__
__NOTOC__
{{client_function}}
{{client_function}}
{{New feature/item|3.0140|1.4|5170|
{{New feature/item|3.0140|1.3.2|5170|
This function returns the mass of a specified object.
This function returns the mass of a specified object.
}}
}}

Revision as of 00:02, 2 May 2013

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

Before submitting check out Editing Guidelines Script Examples.


This function returns the mass of a specified object.

Syntax

float getObjectMass ( object theObject )

Required Arguments

  • theObject: The object whose mass you want to get.

Returns

Returns a float representing the mass of the object, false if invalid arguments were passed.

Example

See Also