SetElementPosition

From Multi Theft Auto: Wiki
Revision as of 04:22, 3 October 2006 by JonChappell (talk | contribs)
Jump to navigation Jump to search

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