Configuration
Check the instructions below.
The main configuration file is Config.lua
. Additional configurations can be done through serverconfig.lua
and locales.lua
.
General Settings
Framework
Framework used (qb
, esx
, oldesx
).
"qb"
Locale
Language for the script.
"en"
DebugStreet
Enable/disable debug for street names.
false
Target
Targeting system (qb
, ox
, none
).
"qb"
JobRequirement
Require a specific job to use the bus job.
true
Job
Job name required to access the bus job.
"police"
Menu
Coordinates for the job menu.
vector3(468.89, -577.03, 29.49)
Vehicle
Vehicle model for the bus job.
"bus"
SpamProtectionTime
Time (ms) to prevent menu spam.
2000
TimeToGetInVehicle
Time (seconds) to get into the vehicle before timeout.
30
CrashFine
Fine for crashing the bus.
100
NPC Configuration
hash
Ped model hash for the NPC.
"a_m_y_business_02"
coords
NPC coordinates.
vector3(468.89, -577.03, 28.49)
heading
NPC heading.
172.13
Blip Configuration
sprite
Blip icon sprite.
513
color
Blip color.
4
scale
Blip size.
0.6
name
Blip name on the map.
"Bus Driver Job"
Passenger Peds
Define the ped models that can spawn as passengers.
Example Passenger Configuration:
Parking Lots
Define parking lot locations where buses will spawn.
Example Parking Lots Configuration:
Routes and Stops
Routes contain the stops for bus rides.
RouteName
Name of the bus route.
Salary
Payment for completing the route.
Level
Minimum level required to access the route.
TicketPrice
Ticket price for passengers.
Exp
Experience gained per stop.
Stops Configuration
StopName
Name of the stop.
Level
Minimum level required for the stop.
StopCoords
Coordinates of the stop.
PassengerWaitCoords
Where passengers wait at the stop.
MaxPassengers
Maximum number of passengers per stop.
MinPassengers
Minimum number of passengers per stop.
StopBlip
Blip configuration for the stop.
Example Route Configuration:
Localization
The script supports multiple languages through locales.lua
.
en
English
tr
Turkish
es
Spanish
de
German
ru
Russian
Example Localization Key:
Discord Integration
Add your Discord bot token in serverconfig.lua
to enable profile image support in logs.
Example Configuration:
Last updated