SetElementMatrix: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (fix oop syntax)
(Remove obsolete Requirements section)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Client function}}
{{Shared function}}
{{Needs_Example}}
{{Needs_Example}}
__NOTOC__  
__NOTOC__  
Line 22: Line 22:
--TODO
--TODO
</syntaxhighlight>
</syntaxhighlight>
==Requirements==
{{Requirements|n/a|1.3.0-9.04485|}}


==See Also==
==See Also==
{{Client_element_functions}}
{{Client_element_functions}}

Latest revision as of 17:08, 7 November 2024

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

Before submitting check out Editing Guidelines Script Examples.


This function sets matrix to element.

Syntax

bool setElementMatrix ( element theElement, table theMatrix )       

OOP Syntax Help! I don't understand this!

Method: element:setMatrix(...)
Variable: .matrix
Counterpart: getElementMatrix


Required Arguments

  • theElement: The element which you set matrix
  • theMatrix: The matrix.

Returns

Returns true if the matrix was set succesfully, false otherwise.

Example

TODO

--TODO

See Also