Communications Technician job For QB-Core
- 💰Pay
- 💲Bonus pay
- 🔍Job Required "telco"
- 📍Blip and Update Blip
- 🔨Required tool's on Inventory
- 🔩Consume metals ,
- coords to vector3
- Requirements Tool and Materials per task , all on config.lua
- ⚡Power system, use BuilderData.ShowDetails, to turn off the antenna before working, if you work without displaying "ShowDetails" you can be electrocuted by a random, (add Tazzer animation )
- ⚡ FuseBox minigame to PowerOff electricity by Tinus_NL
- 🚐 Work car ( request by @nzkfc )
- 🏢 Blip building location ( request by @nzkfc )
- 🐌 Colddown to prevent multispawn vehicle. (30 minutes)
- 📌 Blips's in task's
Edit the file : /resources/[qb]/qb-core/shared.lua
and add the job in QBShared.Jobs = {
["telco"] = {
label = "Technician",
defaultDuty = true,
grades = {
['0'] = {
name = "Communications",
payment = 50
},
},
},
Edit the file : resources/[qb]/qb-cityhall/client/
main.lua and add "telco",
to list jobs, example of how it should look:
local AvailableJobs = {
"trucker",
"taxi",
"tow",
"reporter",
"garbage",
"telco",
}
To be able to select the job in the game we must modify the file resources/[qb]/qb-cityhall/html/
index.html and add <div class="job-page-block" data-job="telco"><p>Telco Engineer</p></div>
to class="job-page-blocks
, example of how it should look:
<div class="job-page-blocks">
<div class="job-page-block" data-job="trucker"><p>Trucker</p></div>
<div class="job-page-block" data-job="taxi"><p>Taxi</p></div>
<div class="job-page-block" data-job="tow"><p>Tow Truck</p></div>
<div class="job-page-block" data-job="reporter"><p>News reporter</p></div>
<div class="job-page-block" data-job="garbage"><p>Garbage collector</p></div>
<div class="job-page-block" data-job="telco"><p>Telco Engineer</p></div>
</div>
qb-builderjob, qb-vineyard, qb-truckerjob
A special thanks to Tinus_NL original author of the esx_technician module "fuse box", who authorized the use of the files and part of the code in this module..