Electrician Job (tw-electrician by tworst-script) is an electrician job for ESX and QBCore servers. Your players take a utility truck, drive to regions around the map and repair electrical equipment through a wiring and welding mini-game. The creator describes it as a multiplayer job with synchronized gameplay.
Features
- Job NPC with blip and marker (default location in the config)
- Repair tasks: house electrical boards, transformers, telephone poles, street lamps and traffic lights
- Build and remove a lift or a ladder to reach the work spot
- Job vehicles (
utillitruck2andutillitruck3) and a vehicle return point - Mini-game interface for cables, voltage and welding, with sounds
- Player profile saved in the database
- Job reset command (
/jobresetelectrician) - Configurable regions, coordinates, blips, texts and currency
Requirements
- ESX or QBCore (
Config.Framework:esx,oldesx,qboroldqb) oxmysql(mysql-async and ghmattimysql are also listed in the config)- Inventory: qb-inventory, ESX inventory, ox_inventory, qs-inventory or codem-inventory
- Interaction: drawtext, qb-target or ox_target
Installation
- Import
insert.sql(creates thetw_electriciantable). - Set framework, SQL, inventory and interaction in
config/config.lua. - Add
ensure tw-electricianto yourserver.cfg.
The config, client and server Lua files are open.