Advanced Documentation
Developer Documentation and other advanced configuration options of the Speed Camera system.
Custom Permission Systems
If you view your config.lua
you will find a function to be defined with your permissions check. The same function is called to check for permission to receive notifications and to check if they are allowed to place new cameras. The requests are differentiated through the type argument. It will be equal to 0
if the permissions check is to see if they can place a camera, 1
to check if they can currently receive notifications, 2
to check if they are allowed to modify the standalone BOLO system, or 3
to check if they can enable and disable cameras. The permission check will be called on every attempted placement and every notification sent, so you can use a custom "on-duty" system if desired.
If you need assistance setting this up you can hire a dev by going here and selecting "Hire a Developer".
Developer Documentation
When a BOLO vehicle is caught events will be sent out. It will be sent to both the client that was caught and the server. It will contain a data argument, the table below contains the layout of this value. Events are named the same on both the client and server.
Event List
SonoranScripts::PlateBOLO
(Used if standalone BOLO system is used)SonoranScripts::SPlateBOLO
(Used if SonoranCAD BOLO system is used)SonoranScripts::Speeding
Data Table Structure
Example Handler
Last updated