Configuration
https://force.tebex.io/
Shared Config:
Config = {
UniversalGarages = false,
FuelSystem = "LegacyFuel",
UseImpund = true,
SelectedLocale = "sv",
Garages = {
["Torget"] = {
shared = false,
pos = vector3(-1390.2679443359, -418.39379882813, 36.636394500732),
spawn = vector3(-1393.1905517578, -414.99072265625, 36.500305175781),
heading = 66.0,
Object = {
Model = "prop_park_ticket_01",
Coords = vector3(-1394.3620605469, -418.4485168457, 36.598831176758),
Rotation = vector3(0, -0, 90.0),
Obj = nil
},
Blip = {
enable = true,
sprite = 357,
color = 0,
scale = 0.7,
},
Job = {
name = "police",
grade = 3
}
},
["Bärgaren"] = {
shared = false,
impound = true,
price = 1500,
pos = vector3(-1388.1479492188, -414.85861206055, 36.582836151123),
spawn = vector3(-1386.5416259766, -410.21572875977, 36.582897186279),
heading = 318.0,
Object = {
Model = "prop_park_ticket_01",
Coords = vector3(-1389.3231201172, -413.8017578125, 36.558895111084),
Rotation = vector3(0, -0, 90.0),
Obj = nil
},
Blip = {
enable = true,
sprite = 477,
color = 5,
scale = 0.7,
},
Job = {
name = false,
grade = false
}
}
}
};Everything is pretty self explanatory the only thing is UniversalGarages which toggles if you should be able to see all your cars in any garage.
Client Config
client_config = {
GetVehicleInfo = function(vehicle)
return json.decode(vehicle.vehicleinfo) -- change vehicleinfo to what ever you have in your database to store vehicle modfications and etc.
end
GetKey = function(plate)
local getKey = exports['bgrp_inventory']:HasSpecificItem({
item = 'carkey',
data = {
plate = plate
}
})
return getKey -- This should be true or false wheter or not you have the key
end
}Last updated