GetElementBoundingBox

From Multi Theft Auto: Wiki
Revision as of 00:19, 13 April 2007 by Jbeta (talk | contribs)
Jump to navigation Jump to search

This function returns the minimum and maximum x,y,z coords of an element's bounding box.

Syntax

float float float float float float getElementBoundingBox ( element theElement )

Required Arguments

  • theElement: the element whose bounding box we want to get.

Returns

  • Returns min x, min y, min z, max x, max y, max z if the passed element is valid, false otherwise.

Example

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

See Also