SetElementMatrix: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (→‎Syntax: OOP)
Line 8: Line 8:
bool setElementMatrix ( element theElement, table theMatrix )       
bool setElementMatrix ( element theElement, table theMatrix )       
</syntaxhighlight>  
</syntaxhighlight>  
{{OOP|This function is also a static function underneath the Element class.|[[element]]:setMatrix||}}


===Required Arguments===  
===Required Arguments===  

Revision as of 16:41, 16 August 2014

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!

Note: This function is also a static function underneath the Element class.
Method: element:setMatrix(...)


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