Job Cameras

Cameras can be linked to a job as group where only the boss can add/remove cameras.

Permissions

_ The needed permissions to add cameras to a job group can be found in client/editable/job.lua

  • The script reads if the player is boss using the laptop export isBoss(), you can replace this export with your own to match your server needs, make sure to return true/false.

_ The needed permissions to watch job cameras in the APP can be found in server/editable/job.lua

  • The watch job permission uses av_business by default, if you don't own this resource make sure to add your own job check, return true/false to allow the player to access the Job Cameras.

Adding a Job Camera

  • First we need to make sure the camera item we are gonna use allows being installed as job camera, for this go to config/items.lua, make sure that job = true in the camera settings.

for this example we are using security_cam
  • Once you use the item and setup the camera position, if the permission canUseJob() returns true, in the groups list we are gonna be able to select our Job as group.

My job is UwU Cafe
  • Complete the process just like any other camera, the camera will be added to your job group and can be accessed by anyone from your own organization.

Last updated