Cam Settings
Config.CameraItems = {
['gopro'] = { -- item name
canUse = function(playerId) -- add yourn own check to allow player to use this item
return true -- return true or false
end,
-- if true, camera will be marked as technician placed and marked as unassigned in the cameras list
technician = false,
settings = {
modelsList = { 'prop_spycam' }, -- list of camera models, player will be able to choose between them when installing the cameras
-- Functionality Settings
expiration = 48, -- in hours, after this time camera will stop working, set to false to disable
plugged = false, -- if true, cam will be plugged into power source and won't require battery
rotationAngle = 90, -- 0-360
-- Vision Modes
hasNightVision = true,
hasThermalVision = false,
-- Features
allowZoom = true,
allowVehicleInstall = true,
allowHacking = true,
motionDetection = true,
-- Durability & Damage
isBreakable = true, -- will break on weapon damage
damageChance = nil, -- chance in % that cam gets randomly damaged, for technician RP purposes, set to nil to disable
},
},
}Last updated