BreakObject: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Fixed some typos)
No edit summary
Line 3: Line 3:
This function breaks a specific object.
This function breaks a specific object.
Note: Only breakable objects can be broken.
Note: Only breakable objects can be broken.
{{Note|This function does not support any kind of glass objects}}


==Syntax==  
==Syntax==  

Revision as of 12:33, 26 August 2013

This function breaks a specific object. Note: Only breakable objects can be broken.


[[{{{image}}}|link=|]] Note: This function does not support any kind of glass objects

Syntax

bool breakObject ( object theObject )

Required Arguments

Returns

Returns true if the object was successfully broken. false if the object is not breakable, or a wrong object was given.

See Also