SetElementPosition: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
[[Category:Incomplete]]
__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function sets the position of an element to the co-ordinates specified.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool setElementPosition ( element element, float x, float y, float z )   
bool setElementPosition ( element theElement, float x, float y, float z )   
</syntaxhighlight>  
</syntaxhighlight>  


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''theElement:''' A valid [[element]] to be moved.
 
*'''x:''' The x co-ordinate of the destination.
===Optional Arguments===
*'''y:''' The y co-ordinate of the destination.
{{OptionalArg}}
*'''z:''' The z co-ordinate of the destination.
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns ''true'' if the function was successful, ''false'' otherwise.


==Example==  
==Example==  
Line 30: Line 26:


==See Also==
==See Also==
{{FunctionArea_Functions}}
{{Element functions}}
[[Category:Incomplete]]

Revision as of 04:22, 3 October 2006

This function sets the position of an element to the co-ordinates specified.

Syntax

bool setElementPosition ( element theElement, float x, float y, float z )  

Required Arguments

  • theElement: A valid element to be moved.
  • x: The x co-ordinate of the destination.
  • y: The y co-ordinate of the destination.
  • z: The z co-ordinate of the destination.

Returns

Returns true if the function was successful, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also