Config File
Config = {}
Config.Framework = "newesx" -- oldesx = OLD Version | newesx = NEW Version
Config.Notif = "OX" -- "ESX" or "OX" or "csNotif"
Config.Command = 'taxi' -- command for open main menu
Config.KeysMenu = "F6" -- key for open main menu
Config.Names = {
society = "society_taxi",
name = "taxi",
label = "Taxi",
plate = "TAXI",
}
Config.Active = { -- if the option is set to false, the system will not be used; if it is set to true, it will be used.
blips = true,
reception = true,
stockage = true,
garageland = true,
boss = true,
lockers = true,
menu = true,
shops = true,
}
-------------------------------------------------
Config.Race = {
BillCustomer = {100, 200}, -- tariff given automatically by customer deposer
PercetangeSociety = 70, -- percentage price on BillCustomer given back to the company
PercentageTaxi = 30, -- percentage price on BillCustomer given back to cab driver
AllVehiclesAuthorized = false, -- if true all vehicles on your server will be allowed to race
VehiclesAuthorized = {"taxi", "sultan"}, -- vehicles authorized to launch a race
PositionsStart = {
vector4(106.8115, -1427.876, 29.29192, 231.0145),
vector4(166.3951, -1356.481, 29.30482, 234.1154)
-- add others positions here if you want :)
},
PositionsEnd = {
vector4(228.7817, -977.6185, 29.31009, 251.2364),
vector4(158.8954, -1008.39, 29.55894, 162.8261)
-- add others positions here if you want :)
},
CustomerTypes = {
{
type = "normal",
chance = 80, -- probability of occurrence (%)
bonus = 0, -- cash bonus
timeLimit = nil, -- limit time
message = "A classic customer, nothing special."
},
{
type = "hurried",
chance = 10,
bonus = 50,
timeLimit = 120,
message = "This customer is in a hurry ! Please hurry!"
},
{
type = "difficult",
chance = 10,
bonus = -20,
timeLimit = nil,
message = "This customer looks difficult... Good luck!"
},
},
VehicleDamaged = {
Enabled = true,
DamageMax = 950.0 -- at how many damages the race will not be validated
},
RiskSystem = {
Enabled = true, -- activate/deactivate speed system
SpeedLimit = 130.0, -- maximum speed in km/h
FineAmount = 50, -- bill for speeding
},
PremiumMode = {
Enabled = true, -- activate/deactivate premium mode
Vehicles = {"stretch", "patriot2"}, -- vehicles authorized for premium mode
BillCustomer = {500, 1000}, -- tariff given automatically by customer deposer
}
}
-------------------------------------------------
Config.Blips = {
PosBlips = vector3(363.9522, -1587.035, 29.29219),
Blip = {
Sprite = 198,
Color = 5,
Scale = 0.8,
Name = "Taxi",
},
}
-------------------------------------------------
Config.Reception = {
Ped = "u_m_y_antonb", -- ped model
PosPed = vector4(361.2413, -1590.083, 28.29219, 318.665),
PosReception = vector3(362.2148, -1588.97, 29.17004),
IconReception = 'phone-volume',
Anim = 'givetake1_a', -- animation with progressbar
Cooldown = 60000, -- player's cooldown between the purchase of these tickets
Progressbar = 2000, -- time progressbar for bought the ticket
}
-------------------------------------------------
Config.Stockage = {
Ped = "s_m_m_strvend_01", -- ped model
PosPed = vector4(372.0565, -1597.164, 28.29222, 141.0826),
PosStockage = vector3(372.0565, -1597.164, 29.29222),
icon = "fa fa-layer-group",
UseOXInv = true, -- true = stockage with ox_inventory | false = use carotto store stockage
slots = 50, -- only if use ox_inventory
weight = 100000, -- only if use ox_inventory
}
-------------------------------------------------
Config.GarageLand = {
Ped = "ig_benny", -- ped model
PosPed = vector4(373.7508, -1616.299, 28.29222, 234.4411),
PosGarageLand = vector3(373.7508, -1616.299, 29.29222),
SpawnVeh = vector4(377.5245, -1619.245, 29.05524, 320.518),
Icon = 'car',
Veh = {
{name = "Store Vehicle", model = ""},
{name = "Taxi", model = "taxi", minGrade = 0, image = 'https://docs.fivem.net/vehicles/taxi.webp', icon = "fa fa-car", iconColor = nil},
{name = "Stretch", model = "stretch", minGrade = 2, image = 'https://docs.fivem.net/vehicles/stretch.webp', icon = "fa fa-car", iconColor = nil},
{name = "Patriot", model = "patriot2", minGrade = 2, image = 'https://docs.fivem.net/vehicles/patriot2.webp', icon = "fa fa-car", iconColor = nil},
},
}
-------------------------------------------------
Config.Boss = {
PosBoss = vector3(386.9751, -1601.935, 28.89105),
icon = "fa-solid fa-gear",
grade = 4,
MaxSalary = 3500, -- maximum salary that can be changed by the boss
Grades = {
["0"] = { name = "employee", label = "Employee" },
["1"] = { name = "experienced", label = "Experienced" },
["2"] = { name = "driver", label = "Driver" },
["3"] = { name = "manager", label = "Manager" },
["4"] = { name = "boss", label = "Boss" },
}
}
-------------------------------------------------
Config.Lockers = {
Ped = "a_m_m_eastsa_01", -- ped model
PosPed = vector4(382.5871, -1610.425, 28.29222, 52.00435),
PosLockers = vector3(382.5871, -1610.425, 29.29222),
Anim = 'try_tie_positive_a', -- animation when you take an outfit
IconLockers = 'shirt',
FirstColor = "#FB9B04",
SecondColor = nil,
ProgressBar = 5000, -- time for take an outfit
Outfits = {
{
NameOutfit = "Employee Outfit", -- Name outfit on menu
MinGrade = 0, -- Minimum grade for access to the outfit
Variations = {
male = {
['tshirt_1'] = 58, ['tshirt_2'] = 0,
['torso_1'] = 55, ['torso_2'] = 0,
['arms'] = 19, ['arms_2'] = 0,
['pants_1'] = 85, ['pants_2'] = 1,
['shoes_1'] = 2, ['shoes_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
female = {
['tshirt_1'] = 14, ['tshirt_2'] = 0,
['torso_1'] = 304, ['torso_2'] = 1,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 47, ['pants_2'] = 0,
['shoes_1'] = 69, ['shoes_2'] = 1,
['bproof_1'] = 16,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
},
{
NameOutfit = "Experienced Outfit",
MinGrade = 1,
Variations = {
male = {
['tshirt_1'] = 58, ['tshirt_2'] = 0,
['torso_1'] = 55, ['torso_2'] = 0,
['arms'] = 19, ['arms_2'] = 0,
['pants_1'] = 85, ['pants_2'] = 1,
['shoes_1'] = 2, ['shoes_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
female = {
['tshirt_1'] = 14, ['tshirt_2'] = 0,
['torso_1'] = 304, ['torso_2'] = 1,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 47, ['pants_2'] = 0,
['shoes_1'] = 69, ['shoes_2'] = 1,
['bproof_1'] = 16,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
},
{
NameOutfit = "Driver Outfit",
MinGrade = 2,
Variations = {
male = {
['tshirt_1'] = 58, ['tshirt_2'] = 0,
['torso_1'] = 55, ['torso_2'] = 0,
['arms'] = 19, ['arms_2'] = 0,
['pants_1'] = 85, ['pants_2'] = 1,
['shoes_1'] = 2, ['shoes_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
female = {
['tshirt_1'] = 14, ['tshirt_2'] = 0,
['torso_1'] = 304, ['torso_2'] = 1,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 47, ['pants_2'] = 0,
['shoes_1'] = 69, ['shoes_2'] = 1,
['bproof_1'] = 16,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
},
{
NameOutfit = "Manager Outfit",
MinGrade = 3,
Variations = {
male = {
['tshirt_1'] = 58, ['tshirt_2'] = 0,
['torso_1'] = 55, ['torso_2'] = 0,
['arms'] = 19, ['arms_2'] = 0,
['pants_1'] = 85, ['pants_2'] = 1,
['shoes_1'] = 2, ['shoes_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
female = {
['tshirt_1'] = 14, ['tshirt_2'] = 0,
['torso_1'] = 304, ['torso_2'] = 1,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 47, ['pants_2'] = 0,
['shoes_1'] = 69, ['shoes_2'] = 1,
['bproof_1'] = 16,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
},
{
NameOutfit = "Boss Outfit",
MinGrade = 4,
Variations = {
male = {
['tshirt_1'] = 58, ['tshirt_2'] = 0,
['torso_1'] = 55, ['torso_2'] = 0,
['arms'] = 19, ['arms_2'] = 0,
['pants_1'] = 85, ['pants_2'] = 1,
['shoes_1'] = 2, ['shoes_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
female = {
['tshirt_1'] = 14, ['tshirt_2'] = 0,
['torso_1'] = 304, ['torso_2'] = 1,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 47, ['pants_2'] = 0,
['shoes_1'] = 69, ['shoes_2'] = 1,
['bproof_1'] = 16,
['chain_1'] = 0, ['chain_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
},
}
}
-------------------------------------------------
Config.Menu = {
MinGradeRace = 1, -- minimum grade for access to the race
MinGradeAnnounce = 1, -- minimum grade for access to the announcement
MinGradeBill = 1, -- minimum grade to qualify for invoice
CharAnnounce = 'CHAR_CARSITE3', -- char notification esx
EventBilling = 'esx_billing:sendBill', -- notification function
Cooldown = 35000, -- cooldown between announcements
ProgressBar = 5000, -- time progressbar
}
-------------------------------------------------
Config.Shops = {
Ped = "s_m_m_highsec_01", -- ped model
PosPed = vector4(358.9196, -1593.48, 28.29219, 321.0124),
PosShops = vector3(358.9196, -1593.48, 29.29219),
Anim = 'givetake1_a', -- animation with progressbar
Icon = 'tag',
ItemShops = {
{title = "Water", item = "water", icon = 'bottle-water', price = 5, progressbar = 3000, minGrade = 0, image = nil},VehicleNotAuthorized
}
}
-------------------------------------------------
Config.Text = {
Currency = "$",
-- RACE
StartStopRace = "Start/Stop Citizen Race",
StartStopRaceDesc = "Taking citizens around town",
GettingOutCustomer = "Press ~INPUT_CONTEXT~ to get the customer down",
GettingIntoCustomer = "Press ~INPUT_CONTEXT~ to get the customer on board",
VehicleNotAuthorized = "This vehicle is not authorized for citizen races",
RaceStart = "Course Start, Go get your customer",
RaceFinish = "Race Completed",
Win = "You win:",
Society = "Society:",
TimeElapsed = "Time Elapsed",
NoGain = "Customers in a hurry are unhappy - no bonus",
HurriedCustomer = "The hurried customer is unhappy! Race cancelled.",
ClientHurry = "Customer Hurry",
YouHave = "You have",
SecondDrop = "seconds to drop off the customer.",
NewCustomer = "New Customer",
Customer = "Customer",
Fines = "Fines",
SpeedingDetected = "Speeding detected:",
VehicleDamaged = "Vehicle Degradation",
VehicleDamagedDesc = "Your vehicle is too damaged to validate the race",
-- RECEPTION
OpenReception = "Call Taxi Employee",
ActionProgress = "You call an employee...",
WaitAction = "You'll have to wait a while to call another taxi !",
RequestSent = "Request sent to employee in service",
MessageEmployee = "A customer is waiting for you at the entrance to Taxi",
-- SHOPS
OpenShops = "Open Shops",
TitleShops = "Shops Taxi",
Price = "Price",
TitleQuantity = "CHOOSE QUANTITY",
DescQuantity = "Quantity Desired",
-- LOCKERS
AccessLockers = "Access to the Lockers",
TakeClothes = "Taking the Outfit...",
CivilClothes = "Take your Civil Outfit",
DescButton = "Take the Dress",
TitleLockers = "Lockers Taxi",
-- BOSS MENU
BossMenu = "Boss Menu",
ChooseAmount = "Set an amount",
Balance = "Balance",
DepositMoney = "Deposit Money",
WithdrawMoney = "Withdraw Money",
EmployeeManagement = "Employee management",
SalaryManagement = "Salary Management",
RecruitPlayer = "Recruit Player",
RecruitDone = "You've hired the right player !",
IDPlayer = "ID Player",
YouCant = "Not possible",
DescYouCant = "You cannot perform this action",
ActionComplete = "Action completed",
DescActionComplete = "Action well done !",
FireTitle = "Fired",
PromotedTitle = "Promote",
DownGradedTitle = "Down Grade",
Fired = "You've been fired from your company",
Promoted = "You have been promoted from your company",
Downgraded = "You've been downgraded by your company",
AccesRefused = "Access Refused",
AccesRefusedDesc = "You don't have the required rank to access the Boss Menu",
DontAccessProfile = "You do not have access to this profile",
CurrentSalary = "Current Salary",
CurrentGrade = "Current Grade",
Rank = "Rank",
MaximumSalary = "The maximum salary limit is",
NewSalary = "New Salary",
BeenRecruted = "You've been recruited by Taxi company !",
-- STOCKAGE
Stockage = "Open Stockage",
Stockage2 = "Stockage",
NotAuthorized = "You are not authorized to access this stockage",
Deposit = "Deposit",
DepositItems = "Deposit Items",
Withdraw = "Withdraw",
WithdrawItems = "Withdraw Items",
EnoughItems = "You don't have enough items",
NoSpace = "Not enough space on you",
-- GARAGE
StoreVehicle = "Store Vehicle",
StoreDesc = "Take out the vehicle",
VehicleOut = "Successfully Released Vehicle !",
VehicleOutDesc = "You did take your vehicle out of the garage",
OpenGarageLand = "Open Garage",
TitleLand = "Garage - Taxi",
-- MENU
MenuTitle = "Taxi Actions",
Announces = "Announces",
AnnouncesDesc = "Make Announcement",
Custom = "Taxi - Custom",
Custom2 = "Text on Announce",
AnnounceCompanyTaxi = "Patron Alert - Taxi",
Company = "Company",
Citizen = "Citizen",
CooldownMessage = "Please wait before making another announcement",
Billing = "Billing",
BillingDesc = "Send an invoice to the nearest player",
InvalidAmount = "Invalid Amount",
Amount = "Amount",
-- ALL
KeybindsTaxi = "Taxi Menu",
SuccessBought = "Purchase Successfull",
SuccessBoughtDesc = "Your purchase has been successfully completed !",
NoEnoughMoney = "No Enough Money",
NoEnoughMoneyDesc = "You don't have enough money to make this purchase !",
EnoughItems = "You don't have enough items",
NoSpace = "Not enough space on you",
ActionSuccess = "Action Successfully Completed !",
ActionSuccessDesc = "The action you took was a success!",
Progressbar = "Action in progress...",
NoVehicleAround = "No vehicles around",
NoVehicleAroundDesc = "Find a vehicle closer to you to perform this action",
PlayerNotFound = "Player not found",
Error = "Error",
Success = "Success",
Race = "Race",
}
Last updated