GetGarageBoundingBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{client function}} This function outputs the bounding box of a garage. ==Syntax== <syntaxhighlight lang="lua"> float, float, float, float getGarageBoundingBox ( int garageID ) </syntaxhighlight> ==...)
 
No edit summary
Line 17: Line 17:
==Example==  
==Example==  
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">
-
{{Example}}
<syntaxhighlight lang="lua">
-- TODO
</syntaxhighlight>
</section>
</section>


==See Also==
==See Also==
{{World functions}}
{{World functions}}
[[Category:Needs_More_Examples]]

Revision as of 06:03, 21 November 2011

This function outputs the bounding box of a garage.

Syntax

float, float, float, float getGarageBoundingBox ( int garageID )

Required Arguments

  • garageID: The garage ID that represents the garage door that is being checked.

Returns

Returns four floats indicating the bounding box of the garage. Western X position, Eastern X position, Southern Y position, Northern Y position.

Example

Click to collapse [-]
Client
Accessories-text-editor.png Script Example Missing Function GetGarageBoundingBox needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO

See Also