Configuration

The config files of Advanced Towing Job, the job lock, and the settings owners change most.

Advanced Towing Job is set up in its config files. It is not in the in-game /ggsettings menu. Edit the files, then restart gg_towjob.

Where the settings are

FileWhat it holds
utility.luaNotifications, progress bar, debug mode, and framework, inventory and target overrides
config/shared/general.luaThe Tow Yard location and job lock, levels, daily challenge, shop and competition prizes
config/shared/jobs.luaThe trucks and every contract type with its pay
config/shared/settings.luaGeneral switches, payment types, the contract pool, police impounds, the competition and the uniform
config/lang.luaEvery text players see
core/lib/miniBridge/client.luaVehicle keys and fuel

Lock the job to a job name

By default anyone can work the job. To make it a company job, set job on the Tow Yard in config/shared/general.lua:

Lua
cfg.general.locations = {
    {
        label = lang:get("location.tow_yard"),
        coords = vec4(-218.98, -1166.03, 23.02, 94.97),
        job = "towing", -- your job name; nil lets everyone in

Only players with that job can then open the menu at the attendant, so hiring and firing through your framework or business script controls who can work. The job must exist in your framework.

Settings owners change

SettingFileWhat it doesDefault
cfg.general.locations[1].coordsgeneral.luaWhere the attendant standsvec4(-218.98, -1166.03, 23.02, 94.97)
vehicle_spawnsgeneral.luaWhere rented trucks spawn13 spots in the yard
cfg.general.levelsgeneral.luaXP needed for each level and its money and XP bonus10 levels, up to +50% money and +100% XP
cfg.DailyBonusChallengegeneral.luaContracts needed for the daily reward, and the reward5 contracts: $1,000, 250 XP and 10 to 20 plastic, glass or copper
cfg.general.shopgeneral.luaItems for sale, price, unlock level and limitsThe seven tow items plus materials
cfg.general.competitiongeneral.luaPrizes for the top three$15,000, $8,000 and $4,000 plus XP
enabled, level, buyinjobs.lua (cfg.jobs.vehicles)Show a truck, its unlock level, and its cash depositService Truck 1 / $250, Flatbed 3 / $500, Flatbed XL 6 / $1,000
level, reward, required_itemsjobs.lua (cfg.jobs.types)A contract's unlock level, its money, XP and item rewards, and the items it uses upPer contract
contract_expiration, mission_lengthjobs.lua (cfg.jobs.types)Minutes a contract waits in the pool, and minutes to finish itPer contract
general.clothing_enabledsettings.luaAdds Swap Uniform at the attendanttrue
general.group_keyssettings.luaEvery group member gets the truck keystrue
general.split_paysettings.luaSplits contract pay across the grouptrue
general.currency_typesettings.luaCurrency shown in the menu"USD"
payment_typessettings.luacash or bank for payouts, daily rewards and deposits"cash"
contracts.pool_sizesettings.luaHow many open contracts the pool holds20 to 50
contracts.refresh_intervalsettings.luaSeconds between pool refills15 * 60
contracts.cancel_behaviorsettings.luaA cancelled contract goes back to the pool (return_to_pool) or is deleted (remove)"return_to_pool"
police_impound.jobssettings.luaJobs that can request an impound tow{ "police" }
police_impound.command_enabled, command_namesettings.luaThe impound request commandtrue, "requesttow"
police_impound.target_enabledsettings.luaThe Request tow truck option on vehiclestrue
competition.enabled, duration_hourssettings.luaThe competition and how long a round laststrue, 7 * 24

Contract rewards can include materials such as rubber, scrap_metal, empty_jerrycan and aluminum, the daily reward gives plastic, glass or copper, and the shop sells copper, rubber, plastic, steel and iron. These items must exist in your inventory. Change them to item names your server has, or remove them.

utility.lua

SettingWhat it doesDefault
notificationsNotification style: ox, qb or esx"ox"
ProgressBarProgress bar style: ox, qb or esx"ox"
frameworkForces a framework: qbx_core, qb-core or es_extended. Leave blank to detect""
inventoryForces an inventory by its resource name. Leave blank to detect""
targetForces ox_target or qb-target. Leave blank to detect""
debugModePrints debug lines in the consolefalse

Vehicle keys and fuel

The job gives keys and sets fuel through core/lib/miniBridge/client.lua. It uses the first key script it finds started, in this order: bhd_garage, brutal_keys, cd_garage, F_RealCarKeysSystem, mk_vehiclekeys, mono_carkeys, MrNewbVehicleKeys, 0r-vehiclekeys, p_carkeys, Renewed-Vehiclekeys, qb-vehiclekeys, qbx_vehiclekeys, qs-vehiclekeys, tgiann-hotwire, vehicles_keys, wasabi_carlock.

Fuel works with bigDaddy-Fuel, cdn-fuel, esx-sna-fuel, frkn-fuelstationv4, lc_fuel, LegacyFuel, okokGasStation, ox_fuel, ps-fuel, qb-fuel, qs-fuelstations, rcore_fuel, Renewed-Fuel, ti_fuel and x-fuel. With any other fuel script, the job sets the game's own fuel level.

Support

Questions before you buy?

Ask the team in our Discord before you pay a thing. Setup help, update notes, giveaways and discount codes, all in one place.

831 online now2,241 members