Configuration
With all of our resources, you also get much configuration, here is some explanation for it!
INFO: Config might contain BETA additions, so it might not be 1:1 as yours
Config Example
Here you can see a config.lua
example with all additions you'll need
```lua
Config = {}
Config.VehicleShopPedModel = "a_f_y_business_04"
Config.NPCSellers = {
{
ped = vector4(1150.1731, 97.2355, 80.7348, 55.2084),
vehicle = vector4(1149.7805, 100.1388, 80.1865, 67.9038),
},
{
ped = vector4(393.5826, -643.6544, 28.5004, 239.5236),
vehicle = vector4(393.2438, -646.8555, 28.0885, 268.9366),
}
}
Config.NPCPeds = {"csb_abigail", "csb_mp_agent14"}
Config.TestDriveTime = 30 -- Seconds
Config.DiscountGenerationTime = 1 -- Minutes
Config.MaxDiscountPercentage = 20
-- This is used in the database just if you have different types of garages.
Config.VehicleTypes = {
Cars = "car",
Planes = "aircraft",
Boats = "boat"
}
Config.Blip = {
types = {
car = 56,
planes = 16,
boats = 410,
},
setup = {
size = 0.5,
color = 5,
display = 2,
}
}
-- https://wiki.rage.mp/index.php?title=Vehicle_Colors
Config.PreviewVehiclesColors = { -- Random select for preview vehicles
38, 17, 43, 44, 54
}
-- This changes the virtual world during the test drive.
Config.ChangeRoutingBucket_TestDrive = false
--- NOTIFY for NPC sells
Config.UseLBPhoneApp = false
-- or
Config.SendNotifyToAllForDiscount = true
Config.SendNotifyToAllForNpcSeller = true
-- and
Config.UseBillboard = true
Config.BillboardsPos = {
vector3(-1.4804, -1110.3441, 28.7982),
}
--- You can use this https://github.com/dolutattoo/dolu_tool
Config.BillboardsObjects = {
{
model = "hei_prop_carrier_panel_2",
coords = vector3(-1.30599999427795, -1109.7935791015625, 28.98516769409179),
rot = vector3(-1.93984615802764, 0.42336818575859, -20.08217620849609)
},
}
Config.RandomStringsForBillboards = {
"I am selling this beautiful vehicle for a great price.",
"This vehicle is serving well, but I need something new.",
"PLS Scripts has released a new script and I need money.",
}
-- If you want customize vehicle data showed in vehicle shops go to client/open.lua
-- If you want customize MYSQL go to server/open.lua
-- Minimum grade for vehicle purchases.
Config.JobGradesForBuy = {
["police"] = 4,
["mechanic"] = 4,
}
```
Last updated