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

Function

getGaragePosition

ServerWorldIdentical to MTA:SA

Returns the garage position given with setGarageBounds.

Syntax

float, float, float getGaragePosition(int garage)

Arguments

garageint
Garage number.

Returns

x, y, z, or false until provided.

Example

local x, y, z = getGaragePosition(8)

See also