[{"data":1,"prerenderedAt":343},["ShallowReactive",2],{"/docs/jobs/policejob/reference/exports/server-devices-and-tracking":3,"/docs/jobs/policejob/reference/exports/server-devices-and-tracking-surround":331,"/docs/jobs/policejob/reference/exports/server-devices-and-tracking-implemented-suggestions":342},{"id":4,"title":5,"body":6,"description":321,"extension":322,"head":323,"implementedSuggestions":323,"meta":324,"navigation":325,"path":326,"schemaOrg":323,"seo":327,"sitemap":328,"stem":329,"__hash__":330},"docs/1.docs/0.jobs/1.policejob/4.reference/3.exports/6.server-devices-and-tracking.md","Server: Devices and tracking",{"type":7,"value":8,"toc":316},"minimark",[9,17,20,25,30,38,59,116,122,135,165,171,185,214,220,243,312],[10,11,12],"p",{},[13,14,16],"a",{"href":15},"/docs/jobs/policejob/reference/exports","All exports",[10,18,19],{},"This page documents the supported public integration calls. Client values are never authoritative for police permissions, review decisions, evidence, offences, or billing.",[21,22,24],"h2",{"id":23},"server-exports","Server Exports",[26,27,29],"h3",{"id":28},"devices-and-tracking","Devices and tracking",[31,32,34],"h4",{"id":33},"getcctvcamerasjobname",[35,36,37],"code",{},"GetCctvCameras(jobName?)",[39,40,41,49],"ul",{},[42,43,44,48],"li",{},[45,46,47],"strong",{},"Purpose",": Returns the deployed CCTV cameras, optionally filtered to one police job.",[42,50,51,54,55,58],{},[45,52,53],{},"Returns",": ",[35,56,57],{},"table"," — camera records.",[60,61,66],"pre",{"className":62,"code":63,"language":64,"meta":65,"style":65},"language-lua shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","local cameras = exports[\"sky_policejob\"]:GetCctvCameras(\"police\")\n","lua","",[35,67,68],{"__ignoreMap":65},[69,70,73,77,81,84,87,90,94,96,99,103,106,108,111,113],"span",{"class":71,"line":72},"line",1,[69,74,76],{"class":75},"sMK4o","local",[69,78,80],{"class":79},"sTEyZ"," cameras ",[69,82,83],{"class":75},"=",[69,85,86],{"class":79}," exports[",[69,88,89],{"class":75},"\"",[69,91,93],{"class":92},"sfazB","sky_policejob",[69,95,89],{"class":75},[69,97,98],{"class":79},"]:",[69,100,102],{"class":101},"s2Zo4","GetCctvCameras",[69,104,105],{"class":79},"(",[69,107,89],{"class":75},[69,109,110],{"class":92},"police",[69,112,89],{"class":75},[69,114,115],{"class":79},")\n",[31,117,119],{"id":118},"getspeedcamcameras",[35,120,121],{},"GetSpeedcamCameras()",[39,123,124,129],{},[42,125,126,128],{},[45,127,47],{},": Returns the deployed speed cameras.",[42,130,131,54,133,58],{},[45,132,53],{},[35,134,57],{},[60,136,138],{"className":62,"code":137,"language":64,"meta":65,"style":65},"local speedcams = exports[\"sky_policejob\"]:GetSpeedcamCameras()\n",[35,139,140],{"__ignoreMap":65},[69,141,142,144,147,149,151,153,155,157,159,162],{"class":71,"line":72},[69,143,76],{"class":75},[69,145,146],{"class":79}," speedcams ",[69,148,83],{"class":75},[69,150,86],{"class":79},[69,152,89],{"class":75},[69,154,93],{"class":92},[69,156,89],{"class":75},[69,158,98],{"class":79},[69,160,161],{"class":101},"GetSpeedcamCameras",[69,163,164],{"class":79},"()\n",[31,166,168],{"id":167},"getmaptrackers",[35,169,170],{},"GetMapTrackers()",[39,172,173,178],{},[42,174,175,177],{},[45,176,47],{},": Returns the currently broadcast GPS trackers and ankle monitors (the data shown on the police map).",[42,179,180,54,182,184],{},[45,181,53],{},[35,183,57],{}," — tracker records.",[60,186,188],{"className":62,"code":187,"language":64,"meta":65,"style":65},"local trackers = exports[\"sky_policejob\"]:GetMapTrackers()\n",[35,189,190],{"__ignoreMap":65},[69,191,192,194,197,199,201,203,205,207,209,212],{"class":71,"line":72},[69,193,76],{"class":75},[69,195,196],{"class":79}," trackers ",[69,198,83],{"class":75},[69,200,86],{"class":79},[69,202,89],{"class":75},[69,204,93],{"class":92},[69,206,89],{"class":75},[69,208,98],{"class":79},[69,210,211],{"class":101},"GetMapTrackers",[69,213,164],{"class":79},[31,215,217],{"id":216},"getwheelclamponvehiclevehicleornetid-plate",[35,218,219],{},"GetWheelClampOnVehicle(vehicleOrNetId, plate?)",[39,221,222,227],{},[42,223,224,226],{},[45,225,47],{},": Returns the wheel clamp attached to a vehicle, resolved by entity/net ID or plate.",[42,228,229,54,231,234,235,238,239,242],{},[45,230,53],{},[35,232,233],{},"table | nil"," — ",[35,236,237],{},"{ attached = true, netId, plate, wheelBone }"," or ",[35,240,241],{},"nil"," when no clamp is attached.",[60,244,246],{"className":62,"code":245,"language":64,"meta":65,"style":65},"local clamp = exports[\"sky_policejob\"]:GetWheelClampOnVehicle(netId)\nif clamp then\n    print(clamp.plate, clamp.wheelBone)\nend\n",[35,247,248,273,285,306],{"__ignoreMap":65},[69,249,250,252,255,257,259,261,263,265,267,270],{"class":71,"line":72},[69,251,76],{"class":75},[69,253,254],{"class":79}," clamp ",[69,256,83],{"class":75},[69,258,86],{"class":79},[69,260,89],{"class":75},[69,262,93],{"class":92},[69,264,89],{"class":75},[69,266,98],{"class":79},[69,268,269],{"class":101},"GetWheelClampOnVehicle",[69,271,272],{"class":79},"(netId)\n",[69,274,276,280,282],{"class":71,"line":275},2,[69,277,279],{"class":278},"s7zQu","if",[69,281,254],{"class":79},[69,283,284],{"class":278},"then\n",[69,286,288,291,294,298,301,304],{"class":71,"line":287},3,[69,289,290],{"class":101},"    print",[69,292,293],{"class":79},"(clamp.",[69,295,297],{"class":296},"sBMFI","plate",[69,299,300],{"class":79},", clamp.",[69,302,303],{"class":296},"wheelBone",[69,305,115],{"class":79},[69,307,309],{"class":71,"line":308},4,[69,310,311],{"class":278},"end\n",[313,314,315],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":65,"searchDepth":72,"depth":275,"links":317},[318],{"id":23,"depth":275,"text":24,"children":319},[320],{"id":28,"depth":287,"text":29},"Reference for Server: Devices and tracking in policejob.","md",null,{},true,"/docs/jobs/policejob/reference/exports/server-devices-and-tracking",{"title":5,"description":321},{"loc":326},"1.docs/0.jobs/1.policejob/4.reference/3.exports/6.server-devices-and-tracking","bK9nA18_TvePxlq-T4zZJ7J9R3nUA9MFJCs9SbaYPkQ",[332,337],{"title":333,"path":334,"stem":335,"description":336,"children":-1},"Server: Jail","/docs/jobs/policejob/reference/exports/server-jail","1.docs/0.jobs/1.policejob/4.reference/3.exports/5.server-jail","Reference for Server: Jail in policejob.",{"title":338,"path":339,"stem":340,"description":341,"children":-1},"Server: Usable items","/docs/jobs/policejob/reference/exports/server-usable-items","1.docs/0.jobs/1.policejob/4.reference/3.exports/7.server-usable-items","Reference for Server: Usable items in policejob.",[],1791814211561]