Nothing happens when I press the interact key#
The prop is not outlined, so it is not in view. Check the camera rotation, the prop position and that the model exists at that spot.
The prop is not outlined#
hash must be the model of an object at position, within 10 metres. Outlines only run while the player is in camera mode.
"Hacking tool unavailable"#
The minigame resource named in the prop hackExport, or in Config.DefaultHack.export for props without one, is not started. Start it before glitch-securityCameras. Props that use Config.DefaultHack fall back to an ox_lib skill check instead, unless Config.FallbackSkillCheck is false.
"System already compromised"#
The prop was hacked and is waiting out Config.HackResetSeconds. The same message appears when the server refuses a start, for example from the cooldown, the per-player cap or the authorizer. Call ResetHack from the server to clear a prop.
A hack always fails after winning#
The server refuses a result that arrives sooner than Config.MinHackSeconds, for a camera it was not told the player is viewing, or for a hack it did not open. Make sure the hack starts from the camera screen and not from another script. If you use AllowRuntimeCameras = false, register runtime cameras with RegisterCamera.
The arrow keys do not switch cameras#
Only cameras in the same group, or in the allowed list passed to EnterCameraMode, are in the cycle. See Config.GroupBlock.
AddCamera returns false#
The reason is the second return value. Common causes are a missing id, name, position or rotation, a duplicate id, a position that is not a vector3, or a prop missing propUniqueId, position or hash.
A runtime camera is missing for some players#
AddCamera only affects the client that calls it. Call it on every client that needs the camera.
Known limits#
- The minigame runs on the client, so the server cannot prove it was won. Pay out only from
glitch-securityCameras:server:hackCompletedorIsHacked, and addSetHackAuthorizerchecks for anything valuable. - The hacked list lives in memory and clears when the resource restarts.
- Camera mode freezes the player ped and hides the radar. It exits on death, damage, timeout and when the resource stops.