Config.lua

Config = {}

Config.settings = {
	Debug = true,
	Language = "en", -- en - english | ta - tamil | malu - malayalam | fr - french | ko - korean | hi - hindi | nl - dutch and also you can add your own  localization
	enableDutySystem = true,
	Notify = 'ox_lib', -- esx_core | ox_lib | qb_core and also you can add your own notification
}


-- Note: Do not forget to create offDutyJob in your jobs table/sql
Config.Jobs = {
	police = {
		coords = {
			vec3(440.130, -974.675, 30.565), -- duty switch coord 1
			vec3(446.91784667969, -974.68792724609, 30.438636779785),
		},
		dutyCheckMenuCoords = vec3(442.5382385253906, -986.4794311523438, 30.36159515380859), -- This menu is only accessible to high grades, which you configured
		onjob = 'police',
		offDutyJob = 'offpolice',                                                         -- offduty job name
		DutyMenuGrade = { 2, 3 },                                                         -- Who can open the duty check hours menu?
		OnDutymenu = {
			Title = 'Police Duty Menu',
			ON = {
				onDutyName = 'On Duty',
				icon = 'fa-solid fa-toggle-on',
				desc = 'Switch on duty',
			},
			OFF = {
				offDutyName = 'Off Duty',
				icon = 'fa-solid fa-toggle-off',
				desc = 'Switch off duty',
			}
		}
	},
	ambulance = {
		coords = {
			vec3(441.615, -979.645, 30.425),
		},
		dutyCheckMenuCoords = vec3(439.9125061035156, -985.3616333007812, 30.44209671020507),
		onjob = 'ambulance',
		offDutyJob = 'offambulance', -- offduty job name
		DutyMenuGrade = { 1, 2 }, -- Who can open the duty check hours menu?
		OnDutymenu = {
			Title = 'EMS Duty Menu',
			ON = {
				onDutyName = 'On Duty',
				icon = 'fa-solid fa-toggle-on',
				desc = 'Switch on duty',
			},
			OFF = {
				offDutyName = 'Off Duty',
				icon = 'fa-solid fa-toggle-off',
				desc = 'Switch off duty',
			}
		}
	}
}

Last updated