SetElementMatrix: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Add missing min_client_version for server)
Line 24: Line 24:


==Requirements==
==Requirements==
{{Requirements|n/a|1.3.0-9.04485|}}
{{Requirements|1.3.0-9.04491|1.3.0-9.04485|}}


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

Revision as of 18:24, 6 March 2020

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

Requirements

This template will be deleted.

See Also