Client Exports

openCityHall

Opening the city hall menu.

---@param {restrictions: table or nil}
exports['vms_cityhall']:openCityHall(restrictions)
Explanation

For example, if you want to run custom menus and a large interior City Hall, you can separate the menu into different points.

Parameters:

  • main: boolean

  • jobs: boolean

  • insurance: boolean

  • licenses: boolean

  • fines: boolean

  • taxes: boolean


Example:

-- Menu with all sections
exports['vms_cityhall']:openCityHall()

-- Menus that will only have one section of jobs
exports['vms_cityhall']:openCityHall({
    jobs = true,
})

openClerkMenu

Opening the clerk menu.

exports['vms_cityhall']:openClerkMenu()

openBillingsMenu

Opening the company's billing menu.

exports['vms_cityhall']:openBillingsMenu()

checkHealthInsurance

Opening the check helth insurance menu.


openEmptyInvoice


openEmptyTicket


openAgreement


getTaxAmount

Calculates tax information on the specified amount.

Explanation

Example of custom tax:


Example of tax from Config.Taxes:


checkVIN

Check the VIN number, it will be visible on the windshield or as a notification.


infoVIN

Menu to check vehicle information using VIN number


hideVIN

Covering the VIN number, other players will not be able to check it until it is discovered.

Last updated

Was this helpful?