SetElementMatrix: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client function}} __NOTOC__ This function sets matrix to element. ==Syntax== <syntaxhighlight lang="lua"> bool setElementMatrix ( element theElement, table matrix ) </syntaxhighlight> ===Requ...")
 
No edit summary
Line 10: Line 10:
===Required Arguments===  
===Required Arguments===  
*'''theElement:''' The element which you set matrix
*'''theElement:''' The element which you set matrix
*'''matrix:''' The table witch contains matrix values.
*'''matrix:''' The table witch contains matrix data.


===Returns===
===Returns===

Revision as of 12:23, 11 September 2012

This function sets matrix to element.

Syntax

bool setElementMatrix ( element theElement, table matrix )       

Required Arguments

  • theElement: The element which you set matrix
  • matrix: The table witch contains matrix data.

Returns

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

Requirements

Minimum server version n/a
Minimum client version 1.3.0-9.04485

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.0-9.04485" />

See Also

Shared