SetElementInterior

From Multi Theft Auto: Wiki
Revision as of 12:43, 12 August 2007 by AlienX (talk | contribs) (→‎Example)
Jump to navigation Jump to search

This function allows you to set the interior of any element. An interior is the current loaded place, 0 being outside.

Syntax

bool setElementInterior ( element theElement, int interior, [float x, float y, float z] )

Required Arguments

  • theElement: The element in which you'd like to set the interior of.
  • interior: The interior you want to set the element to.

Returns

Returns 'true' if 'theElement' and 'interior' are valid arguments, 'false' otherwise.

Optional Arguments

  • x: A floating point number representing the X coordinate on the map.
  • y: A floating point number representing the Y coordinate on the map.
  • z: A floating point number representing the Z coordinate on the map.

Example

Click to expand [+]
Server & Client

See Also