ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getGarageBoundingBox

Function

getGarageBoundingBox

ServerWorldIdentical to MTA:SA

Returns the garage rectangle calculated from setGarageBounds: west, east, south and north limits.

Syntax

float, float, float, float getGarageBoundingBox(int garage)

Arguments

garageint
Garage number.

Returns

West, east, south, north, or false.

Example

local west, east, south, north = getGarageBoundingBox(8)

See also