Configuration
Guide to config FullGreen Car Rental, we recommend having minimal programming skills to continue with this sector of the documentation.
FG_Rental_Config = {}
FG_Rental_Config.Locale = 'en' -- en or fr
FG_Rental_Config.Notification = 'ata' -- ESX or ATA or CUSTOM
FG_Rental_Config.Keys = 'okokGarage' -- okokGarage or custom
FG_Rental_Config.Cars = {{
model = 'polo2018', -- car spawn name
name = 'Polo', -- Car "model"
brand = 'VW', -- car brand
year = '2018', -- year of the release of the car
seats = '4', -- numbers of seats
gearbox = 'Automatic', -- type of gearbox manual or automatic
fuel = '8.2 L', -- consumption X L/100KM
fuelType = 'Fuel', -- Fuel or Electric
price = 800, -- Price for the rental
image = 'car-3.jpg' -- image name (FG-CarRental/web/assets/images/)
}, {
model = 'm2',
name = 'M2',
brand = 'BMW',
year = '2016',
seats = '2',
gearbox = 'None',
fuel = '1.8 L',
fuelType = 'Fuel',
price = 500,
image = 'car-5.jpg'
}, {
model = 'cesc21',
name = 'Escalade 2021',
brand = 'Cadillac',
year = '2021',
seats = '4',
gearbox = 'None',
fuel = '10.5 L',
fuelType = 'Fuel',
price = 200,
image = 'car-4.jpg'
}}
FG_Rental_Config.Location = { -- BLIP CONFIG
title = "Rental",
colour = 3,
id = 315,
x = -1043.4936523438,
y = -2661.5031738281,
z = 13.830758094788
}
FG_Rental_Config.PED = { -- PED POSITION & MODEL CONFIG
x = -1043.4936523438,
y = -2661.5031738281,
z = 13.830758094788,
heading = 224.591,
model = 's_m_m_gardener_01'
}
FG_Rental_Config.Parking = { -- CAR SPAWN POSITION
x = -1038.4711914063,
y = -2665.87890625,
z = 13.830752372742,
heading = 0.0
}Last updated