#mtc-cityhall
1 messages · Page 1 of 1 (latest)
firts two comes on common without editing, and i cannot open cityhall
these second comes after i remove the line, and actually can open a cityhall amd choose job
Qbox requires job grades to be numbers instead of strings
Hiya! Just dropping by from MTC
When running qbox you'd need to edit 1 line (This will be patched soon™️)
The line:
salary = QBCore.Shared.Jobs[Config.jobs[key].job].grades["0"].payment, -- Pulls the salary data from QBCore, Credit to 42MARTIN42 for the change, instead of using a set config value using - Config.jobs[key].salary,
Should become:
salary = QBCore.Shared.Jobs[Config.jobs[key].job].grades[0].payment, -- Pulls the salary data from QBCore, Credit to 42MARTIN42 for the change, instead of using a set config value using - Config.jobs[key].salary,