Advanced Documentation
Developer Documentation and other advanced configuration options of the Speed Camera system.
Custom Permission Systems
Config.custom = {
check_perms_server_side = true, -- If true the permission event will be sent out to the server side resource, this is recommended
permissionCheck = function(source, type) -- This function will always be called server side.
if type == 0 then -- Check for admin
return true or false -- Return true if they have admin, return false if they don't
elseif type == 1 then -- Check for notification perms
return true or false -- Return true if they have permissions, return false if they don't
elseif type == 2 then -- Check for BOLO creation/deletion/view perms
return true or false -- Return true if they have permissions, return false if they don't
elseif type == 3 then -- Check for permissions to enable/disable cameras
return true or false -- Return true if they have permissions, return false if they don't
end
end
}Developer Documentation
Event List
Data Table Structure
Index
Description
Example
Example Handler
Last updated
Was this helpful?