Browse docs
Advanced Speed Camera
This page documents the supported public integration calls. Client values are never authoritative for police permissions, review decisions, evidence, offences, or billing.
Advanced Speed Camera
Read deployed speed cameras
GetSpeedcamCameras()
Returns the current server-owned camera catalogue. This is a server export and cannot be called directly by a FiveM client.
local cameras = exports["sky_policejob"]:GetSpeedcamCameras()
for _, camera in ipairs(cameras) do
print(camera.id, camera.label, camera.status, camera.limit)
end
Each entry contains:
| Field | Type | Description |
|---|---|---|
id | string | Display ID such as SP-004 |
label | string | Configured camera name |
type | string | Always speedcam |
status | string | online, maintenance, or offline |
durability | number | Current server-owned durability |
limit | number | Configured speed limit |
tolerance | number | Configured tolerance |
target | number | Internal numeric camera ID used by supported camera views |
coords | table | Server-stored world coordinates |
heading | number | Server-stored camera heading |
Treat the returned table as a snapshot. Changing it does not change the server cache or database.
Review mutations are intentionally private
Advanced review approval and discard are not public exports. The built-in path validates the acting officer's current police job, duty, Boss Menu permission, review ownership, evidence, offence, fine, billing adapter, target player, and review status immediately before mutation.
See Advanced Speed Camera for the complete review and exploit-protection workflow.