Last updated
Last updated
The main configuration file is Config.lua
. Additional configurations can be done through serverconfig.lua
and locales.lua
.
Blip Configuration
Define the ped models that can spawn as passengers.
Example Passenger Configuration:
Define parking lot locations where buses will spawn.
Example Parking Lots Configuration:
Routes contain the stops for bus rides.
Stops Configuration
Example Route Configuration:
The script supports multiple languages through locales.lua
.
Example Localization Key:
Add your Discord bot token in serverconfig.lua
to enable profile image support in logs.
Example Configuration:
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
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
sprite
Blip icon sprite.
513
color
Blip color.
4
scale
Blip size.
0.6
name
Blip name on the map.
"Bus Driver Job"
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.
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.
en
English
tr
Turkish
es
Spanish
de
German
ru
Russian
Check the instructions below.