Job Lock & Multi Job
Job lock
Config.UseFramework = false
Config.Framework = "ESX"
Config.UseEsxExport = falseConfig.JobLock = true
Config.Jobs = {'police', 'ambulance'}Multi Job
Config.JobMenus = {
["police"] = {
['button0'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
submenu = {
active = false,
}
},
['button1'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end,
submenu = { -- Example sub menu
active = true,
['button1'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
},
['button2'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
},
['button3'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
}
}
},
['button2'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
submenu = {
active = false,
}
},
['button3'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
submenu = {
active = false,
}
},
['button4'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
submenu = {
active = false,
}
},
['button5'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
submenu = {
active = false,
}
},
['button6'] = {
active = true,
image = "imgs/police.png",
hovertext = true,
text = "text",
execute = function()
end
submenu = {
active = false,
}
}
}
}Last updated