โ๏ธConfiguration
Check the standard Config!
Config.lua
Config = {}
Config.Main = {
esxevent = "es_extended",
language = "de",
moneysymbol = "$",
notifys = "sservice",
limitedvehicles = false, -- true = Players can only rent 1 vehicle at a time, false = Players can rent unlimited vehicles.
msnotifytimer = 200, -- In milliseconds
defaultrentaltime = 25, -- In minutes
maxrentaltime = 50, -- In minutes
RandomVehiclePlate = false,
Plate = {
PlateLetters = 4, -- Count of Letter on the Plate
PlateNumbers = 4 -- Count of Numbers on the Plate
},
VehiclePlates = "SService", -- If RandomVehiclePlate is false , the text will be used for plate
moneytype = "money", -- Either "money", "bank" or "both"
PedOrMarker = false, -- If true then Ped, false equals Marker
DestroyedCarFine = false,
FineAmount = 1000,
PayInsurance = false,
InsurenceAmount = 100
}
Config.Locations = {
{
coords = vector3(-984.026368, -2640.474610, 13.980224),
heading = 136.062988,
Categorys = {
-- Max 4
"Cars",
"Scooter"
},
Cars = {
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 120,
Categorys = "Cars",
DefaultLiter = 80,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Scooter",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
}
},
Blip = {
active = true,
Blipsprite = 225,
BlipColor = 4,
BlipScale = 1.0,
BlipName = "Rental - Fly"
},
ped = GetHashKey("s_m_y_armymech_01"),
Marker = {
markertype = 1, -- https://docs.fivem.net/docs/game-references/markers/
markersize = vector3(1, 1, 1),
markercolor = {r = 1, g = 1, b = 1}
},
closed = false,
parkoutlocations = {
{
coords = vector3(-999.18011474609, -2654.7299804688, 13.98473739624), -- Main parkout point
heading = 0.2755
},
{
coords = vector3(121.3112, -1081.8717, 28.5999), -- Extra Parkout point if the main parkout point is taken
heading = 0.1613
},
{
coords = vector3(124.8792, -1081.8218, 28.5989), -- Extra Parkout point if the main parkout point is taken
heading = 0.2443
},
{
coords = vector3(128.6214, -1081.6726, 28.5996), -- Extra Parkout point if the main parkout point is taken
heading = 0.0755
},
{
coords = vector3(132.2363, -1081.8612, 28.6002), -- Extra Parkout point if the main parkout point is taken
heading = 0.0940
},
{
coords = vector3(105.9191, -1063.1868, 28.6130), -- Extra Parkout point if the main parkout point is taken
heading = 245.3177
},
{
coords = vector3(107.4039, -1059.7065, 28.6138), -- Extra Parkout point if the main parkout point is taken
heading = 247.4998
}
},
registredjobs = false,
allowedjobs = {
["police"] = true
}
},
{
coords = vector3(96.16187286377, 6363.2446289062, 31.375865936279),
heading = 136.062988,
Categorys = {
-- Max 4
"Cars",
"Scooter"
},
Cars = {
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 120,
Categorys = "Cars",
DefaultLiter = 80,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Cars",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
},
{
SpawnNameOfVehicle = "zentorno",
LabelName = "Zentorno",
PricePerMinute = 100,
Categorys = "Scooter",
DefaultLiter = 100,
ImgPath = "img/car.png",
description = "The best car in FiveM!"
}
},
Blip = {
active = true,
Blipsprite = 225,
BlipColor = 4,
BlipScale = 1.0,
BlipName = "Rental - Fly"
},
ped = GetHashKey("s_m_y_armymech_01"),
Marker = {
markertype = 1, -- https://docs.fivem.net/docs/game-references/markers/
markersize = vector3(1, 1, 1),
markercolor = {r = 1, g = 1, b = 1}
},
closed = false,
parkoutlocations = {
{
coords = vector3(94.657821655273, 6372.0268554688, 31.225782394409), -- Main parkout point
heading = 0.2755
},
{
coords = vector3(121.3112, -1081.8717, 28.5999), -- Extra Parkout point if the main parkout point is taken
heading = 0.1613
},
{
coords = vector3(124.8792, -1081.8218, 28.5989), -- Extra Parkout point if the main parkout point is taken
heading = 0.2443
},
{
coords = vector3(128.6214, -1081.6726, 28.5996), -- Extra Parkout point if the main parkout point is taken
heading = 0.0755
},
{
coords = vector3(132.2363, -1081.8612, 28.6002), -- Extra Parkout point if the main parkout point is taken
heading = 0.0940
},
{
coords = vector3(105.9191, -1063.1868, 28.6130), -- Extra Parkout point if the main parkout point is taken
heading = 245.3177
},
{
coords = vector3(107.4039, -1059.7065, 28.6138), -- Extra Parkout point if the main parkout point is taken
heading = 247.4998
}
},
registredjobs = false,
allowedjobs = {
["police"] = true
}
}
}
Config.InformationUntilEnd = {
{
time = 0 -- Minutes until Car end
},
{
time = 1 -- Minutes until Car end
},
{
time = 2 -- Minutes until Car end
},
{
time = 3 -- Minutes until Car end
},
{
time = 4 -- Minutes until Car end
},
{
time = 5 -- Minutes until Car end
},
{
time = 10 -- Minutes until Car end
},
{
time = 15 -- Minutes until Car end
},
{
time = 30 -- Minutes until Car end
}
}
config_server.lua
ConfigServer = {}
ConfigServer.Main = {
multichar = false,
CharStrings = {
"char1:",
"char2:"
} -- If you use a Multichar system. You have to insert the prestrings since multichar systems are using identifiers like char1:2992939293193921932
}
ConfigServer.Discord = {
On = true,
title = "S-Rental",
author = "S-Roleplay",
color = 16711680,
avatar_url = "https://media.discordapp.net/attachments/1203713102508597258/1203713313209581578/NoNitro.png?ex=66461c61&is=6644cae1&hm=0c9eef46e87b946a752f0df5201ba37ea7944f9481c6bff0cacf8b9663999177&=&format=webp&quality=lossless&width=507&height=507",
footertext = "S-Scripts",
icon_url = "https://cdn.discordapp.com/attachments/1111651214241837109/1121531249299837089/S-Service_Logo_Oanim.png",
thumbnailurl = "https://cdn.discordapp.com/attachments/1111651214241837109/1121531249299837089/S-Service_Logo_Oanim.png"
}
ConfigServer.Webhooks = {
["Default"] = ""
}
If you find any errors in the configuration and you can't fix them yourself, open a ticket!
Last updated