#mtc-cityhall

1 messages · Page 1 of 1 (latest)

tight dove
#

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

sage copper
#

Qbox requires job grades to be numbers instead of strings

next crow
#

Hiya! Just dropping by from MTC

When running qbox you'd need to edit 1 line (This will be patched soon™️)

https://github.com/morethancodenl/mtc-cityhall/blob/5fd030f49eb9524fdf59d06b71892f4ad6d08811/client/nui.lua#L44

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,
GitHub

A cityhall script for QBCore or Qbox Framework, within the script we focused on usability and a clean and clear user interface. In our script you have the choice to take certain jobs and/or provide...