[{"data":1,"prerenderedAt":212,"buildId":213},["ShallowReactive",2],{"page-\u002Fwiki\u002Fcustom-siren-profile":3,"related-\u002Fwiki\u002Fcustom-siren-profile":193},{"id":4,"title":5,"body":6,"category":183,"description":184,"extension":185,"meta":186,"navigation":187,"path":188,"script":189,"seo":190,"stem":191,"__hash__":192},"wiki_en\u002Fwiki\u002F31.custom-siren-profile.md","Create your own siren profile",{"type":7,"value":8,"toc":178},"minimark",[9,14,82,86,102,121,138,142,152,174],[10,11,13],"h2",{"id":12},"_1-add-the-profile","1. Add the profile",[15,16,22],"pre",{"className":17,"code":18,"filename":19,"language":20,"meta":21,"style":21},"language-lua shiki shiki-themes github-dark","-- in Config.Profiles\ncustoms = { label = 'profile_customs', tones = { 'hilo', 'yelp' }, horn = 'airhorn' },\n","shared\u002Fconfig.lua","lua","",[23,24,25,34],"code",{"__ignoreMap":21},[26,27,30],"span",{"class":28,"line":29},"line",1,[26,31,33],{"class":32},"sAwPA","-- in Config.Profiles\n",[26,35,37,41,45,48,50,54,57,59,62,65,68,71,74,76,79],{"class":28,"line":36},2,[26,38,40],{"class":39},"s95oV","customs ",[26,42,44],{"class":43},"snl16","=",[26,46,47],{"class":39}," { label ",[26,49,44],{"class":43},[26,51,53],{"class":52},"sU2Wk"," 'profile_customs'",[26,55,56],{"class":39},", tones ",[26,58,44],{"class":43},[26,60,61],{"class":39}," { ",[26,63,64],{"class":52},"'hilo'",[26,66,67],{"class":39},", ",[26,69,70],{"class":52},"'yelp' ",[26,72,73],{"class":39},"}, horn ",[26,75,44],{"class":43},[26,77,78],{"class":52}," 'airhorn' ",[26,80,81],{"class":39},"},\n",[10,83,85],{"id":84},"_2-translate-the-name","2. Translate the name",[87,88,89,92,93,97,98,101],"p",{},[23,90,91],{},"label"," is a locale key. Add it to ",[94,95,96],"strong",{},"every"," file in ",[23,99,100],{},"locales\u002F",":",[15,103,106],{"className":17,"code":104,"filename":105,"language":20,"meta":21,"style":21},"profile_customs = 'Customs',\n","locales\u002Fen.lua",[23,107,108],{"__ignoreMap":21},[26,109,110,113,115,118],{"class":28,"line":29},[26,111,112],{"class":39},"profile_customs ",[26,114,44],{"class":43},[26,116,117],{"class":52}," 'Customs'",[26,119,120],{"class":39},",\n",[15,122,125],{"className":17,"code":123,"filename":124,"language":20,"meta":21,"style":21},"profile_customs = 'Zoll',\n","locales\u002Fde.lua",[23,126,127],{"__ignoreMap":21},[26,128,129,131,133,136],{"class":28,"line":29},[26,130,112],{"class":39},[26,132,44],{"class":43},[26,134,135],{"class":52}," 'Zoll'",[26,137,120],{"class":39},[10,139,141],{"id":140},"_3-assign-a-vehicle","3. Assign a vehicle",[87,143,144,145,148,149,101],{},"After restarting the resource choose the profile under ",[94,146,147],{},"Vehicles"," in the admin panel, or add it to ",[23,150,151],{},"Config.Vehicles",[15,153,155],{"className":17,"code":154,"filename":19,"language":20,"meta":21,"style":21},"-- in Config.Vehicles\npolice4 = 'customs',\n",[23,156,157,162],{"__ignoreMap":21},[26,158,159],{"class":28,"line":29},[26,160,161],{"class":32},"-- in Config.Vehicles\n",[26,163,164,167,169,172],{"class":28,"line":36},[26,165,166],{"class":39},"police4 ",[26,168,44],{"class":43},[26,170,171],{"class":52}," 'customs'",[26,173,120],{"class":39},[175,176,177],"style",{},"html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}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":36,"depth":36,"links":179},[180,181,182],{"id":12,"depth":36,"text":13},{"id":84,"depth":36,"text":85},{"id":140,"depth":36,"text":141},"examples","For example a customs profile with its own tone order.","md",{},true,"\u002Fwiki\u002Fcustom-siren-profile","ELS",{"title":5,"description":184},"wiki\u002F31.custom-siren-profile","VxENnuYGmT9_fwYSr34jG_YqfUo2y4J9ZnDgzVQgk6I",[194,197,200,203,206,209],{"path":195,"title":196},"\u002Fwiki\u002Fox-inventory-items","Create the items in ox_inventory",{"path":198,"title":199},"\u002Fwiki\u002Fsiren-pack","Add your own siren pack",{"path":201,"title":202},"\u002Fwiki\u002Fbeacon-position","Position the deployable light per vehicle model",{"path":204,"title":205},"\u002Fwiki\u002Frestrict-jobs","ELS for certain jobs only",{"path":207,"title":208},"\u002Fwiki\u002Fdispatch-integration","Switch emergency lights from another script",{"path":210,"title":211},"\u002Fwiki\u002Fcustom-notifications","Your own notification system in the core",1796489274760,"796809a0-6a93-472e-ad3e-7b1dd1b64509"]