[{"data":1,"prerenderedAt":145,"buildId":146},["ShallowReactive",2],{"page-\u002Fwiki\u002Frestrict-jobs":3,"related-\u002Fwiki\u002Frestrict-jobs":126},{"id":4,"title":5,"body":6,"category":116,"description":117,"extension":118,"meta":119,"navigation":120,"path":121,"script":122,"seo":123,"stem":124,"__hash__":125},"wiki_en\u002Fwiki\u002F34.restrict-jobs.md","ELS for certain jobs only",{"type":7,"value":8,"toc":111},"minimark",[9,14,68,84,88,107],[10,11,13],"h2",{"id":12},"config","Config",[15,16,22],"pre",{"className":17,"code":18,"filename":19,"language":20,"meta":21,"style":21},"language-lua shiki shiki-themes github-dark","Config.AllowedJobs = { 'police', 'sheriff', 'ambulance', 'fire' }\n","shared\u002Fconfig.lua","lua","",[23,24,25],"code",{"__ignoreMap":21},[26,27,30,34,38,42,45,49,52,55,57,60,62,65],"span",{"class":28,"line":29},"line",1,[26,31,33],{"class":32},"s95oV","Config.",[26,35,37],{"class":36},"svObZ","AllowedJobs",[26,39,41],{"class":40},"snl16"," =",[26,43,44],{"class":32}," { ",[26,46,48],{"class":47},"sU2Wk","'police'",[26,50,51],{"class":32},", ",[26,53,54],{"class":47},"'sheriff'",[26,56,51],{"class":32},[26,58,59],{"class":47},"'ambulance'",[26,61,51],{"class":32},[26,63,64],{"class":47},"'fire' ",[26,66,67],{"class":32},"}\n",[69,70,71,72,75,76,79,80,83],"p",{},"The names must match the ESX job names exactly (column ",[23,73,74],{},"name"," of the ",[23,77,78],{},"jobs"," table). ",[23,81,82],{},"false"," allows every player.",[10,85,87],{"id":86},"effect","Effect",[89,90,91,95,98],"ul",{},[92,93,94],"li",{},"Without a matching job no HUD appears and the horn is blocked in the driver seat.",[92,96,97],{},"The restriction also applies to placing the deployable light.",[92,99,100,101,106],{},"Managing in the admin panel is controlled separately by ",[102,103,105],"a",{"href":104},"\u002Fwiki\u002Fgrant-access","access in the hub",".",[108,109,110],"style",{},"html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":21,"searchDepth":112,"depth":112,"links":113},2,[114,115],{"id":12,"depth":112,"text":13},{"id":86,"depth":112,"text":87},"examples","Limit the control panel to police, ambulance and fire department.","md",{},true,"\u002Fwiki\u002Frestrict-jobs","ELS",{"title":5,"description":117},"wiki\u002F34.restrict-jobs","3hGm1UZDXCrilVt0pR9-FC-95IF32BclO6ucKYEodMY",[127,130,133,136,139,142],{"path":128,"title":129},"\u002Fwiki\u002Fox-inventory-items","Create the items in ox_inventory",{"path":131,"title":132},"\u002Fwiki\u002Fcustom-siren-profile","Create your own siren profile",{"path":134,"title":135},"\u002Fwiki\u002Fsiren-pack","Add your own siren pack",{"path":137,"title":138},"\u002Fwiki\u002Fbeacon-position","Position the deployable light per vehicle model",{"path":140,"title":141},"\u002Fwiki\u002Fdispatch-integration","Switch emergency lights from another script",{"path":143,"title":144},"\u002Fwiki\u002Fcustom-notifications","Your own notification system in the core",1796489274767,"796809a0-6a93-472e-ad3e-7b1dd1b64509"]