Skip to content

Exports

Explore our selection of exports that enhance your resource functionality.

SHARED

When called, returns if the camera is online or not. Requires camera ID.

local status = exports['cis_HawkEyeSurveillance']:GetCameraStatus(camID)

SERVER-SIDED

Sets the owner metadata for the specific camera ID. Requires a table with 2 values, type and value.

owner = {
type = "job" or "personal"
value = "jobname" or playerIdentifier --Citizen ID for QBCORE
}
exports['cis_HawkEyeSurveillance']:SetCameraOwnerMetadata(camID, owner)

SHARED

When called, returns the jammer table with all the data. Requires the jammer ID.

local jammerData = exports['cis_HawkEyeSurveillance']:GetJammerData(camID)