⬅️Exports

Explore our selection of exports that enhance your resource functionality.

We offer a selection of exports to enhance your resource functionality, with ongoing expansion plans to accommodate even more features based on your valuable input. Feel free to share your suggestions with us.

Shared Camera Exports

SHARED

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

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

Server Camera Exports

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 Jammer Exports

SHARED

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

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

Last updated

Was this helpful?