📍Coords

CarDealer = {
    TryCoords = vector4(-1648.7524414063, -3137.04296875, 12.992223739624, 329.32318115234),
    Location = {
        {
            vehspawn = vec4(-13.145836, -1091.341797, 26.672060, 160.81561279297),
            Catalog = vec4(-50.285194, -1089.606567, 25.422340, 341.23440551758),
        },
    },
}
  • CarDealer.TryCoords = The location where the vehicle will spawn to test the vehicles

  • CarDealer.Location.vehspawn = The vehicle spawns once the vehicle is purchased

  • CarDealer.Location.Catalog = The position of the catalog

If you want to add another catalog point copy paste an index of the Location table

CarDealer = {
    Location = {
        {
            vehspawn = vec4(-13.145836, -1091.341797, 26.672060, 160.81561279297),
            Catalog = vec4(-50.285194, -1089.606567, 25.422340, 341.23440551758),
            Blips = {
                Sprite = 570,
                Display = 4,
                Scale = 0.9,
                Colour = 3,
                String = "Catalog"
            }
        },
        // Example
        {
            vehspawn = New Coords,
            Catalog = New Coords,
            Blips = {
                Sprite = 570,
                Display = 4,
                Scale = 0.9,
                Colour = 3,
                String = "Catalog"
            }
        },
    },
}

Last updated