02.07.2019, 16:25
Here are the coordinates of all garages from the game, the doors of which open and close to the player when he approaches them. Note: this is taken from mta wiki and adapted to use as pawn array
Code:
new const Float:GaragesCoords[][] =
{
{1643.43, -1521.95, 13.56},
{1877.30, -2097.85, 13.53},
{1842.32, -1856.37, 13.38},
{1797.62, -2146.73, 13.55},
{1699.06, -2089.99, 13.55},
{2741.21, -2003.46, 13.55},
{2644.90, -2038.41, 13.55},
{2072.40, -1831.38, 13.55},
{2505.68, -1689.95, 13.56},
{1041.42, -1026.78, 32.10},
{1025.09, -1030.52, 32.04},
{488.41, -1733.88, 11.18},
{322.60, -1769.86, 4.72},
{1353.23, -625.68, 109.13},
{-2715.30, 217.61, 4.32},
{-2730.48, 74.22, 4.34},
{-2455.66, -123.73, 26.09},
{-1935.88, 237.90, 34.31},
{-1904.53, 276.63, 41.05},
{-2101.90, -16.07, 35.32},
{-2026.94, 130.57, 28.84},
{-2038.18, 178.87, 28.84},
{-1786.78, 1208.87, 25.13},
{-2105.22, 897.84, 76.71},
{-2425.70, 1029.37, 50.39},
{-2695.94, 820.34, 49.98},
{1585.90, 1226.73, 10.81},
{2609.68, 1436.90, 10.82},
{2386.75, 1042.44, 10.82},
{2448.44, 697.76, 11.46},
{2006.11, 2302.69, 10.82},
{1967.55, 2162.43, 10.82},
{1407.23, 1902.37, 11.46},
{1280.85, 2529.82, 10.82},
{928.43, 2011.86, 11.46},
{-1420.43, 2591.78, 55.82},
{-100.00, 1110.53, 19.74},
{-360.72, 1193.05, 19.74},
{428.90, 2546.57, 16.21},
{-388.78, 2228.05, 42.43},
{404.97, 2478.38, 16.48},
{-2113.93, -2459.94, 30.63},
{719.96, -464.34, 16.34},
{2231.22, 167.27, 27.48},
{785.95, -494.23, 17.34}
};

