np_cctv v0.1.0 ​
In-world security cameras built on the Nimbus UI design system. Shops, police stations and homes put cameras up, wire them to a recorder prop and watch a live monitor at a terminal or on a laptop. Each camera keeps a rolling log of what happened in front of it: motion, motion after hours, offline, blinded, tampering, a register opening. The owner scrubs a 24 hour timeline, saves clips and stills, steers PTZ cameras and hands footage to the police on a USB stick, in a case or onto a screen. Lenses can be covered, and recorders can be stolen or smashed, which destroys the footage that was not backed up.
Cameras only show the scene in front of them. There is no facial recognition, no plate reading, no "enhance" and no drones.
It runs on es_extended, qbx_core or qb-core, or standalone, with np_inventory, ox_inventory, qb-inventory or no inventory at all. es_extended with np_inventory is the first target. The hard dependencies are oxmysql and np_prophandler 1.1.0+ (camera and recorder props, the placement ghost). Staff rights are np_admin permission nodes (no ACE). Every other np_* resource is optional and plugs in when it runs (Integrations).
Not yet run on a live server
np_cctv has been verified by its test suite (fake natives, an in-memory database, fakes of every framework, inventory
and np_* sibling) and its UI by browser mocks and screenshots. Nobody has put a camera up in GTA with it yet. Read
Before you open it: prop models, their orientation, the camera look and the lens
animation are engine guesses that you tune in shared/config/cameras.lua.
Live pictures need screenshot-basic
The monitor takes its live pictures with screenshot-basic. Without it the tiles are placeholders with the camera's
metadata, and still pictures have no image. The full view is live either way, because the game itself draws it. See
Integrations.

| Full view | Placing a camera |
|---|---|
![]() |
![]() |
| The game renders the camera. W A S D pan and tilt a PTZ camera, the wheel zooms | Ghost prop and view cone in the world, coverage ring, field of view and the recorder it is wired to |
![]() |
![]() |
| USB viewer. A clip on a stick, readable by whoever holds it | Several sites. A police network whose recorder was carried away |
![]() |
|
| Without screenshot-basic. Placeholder tiles with the camera's metadata |
The screenshots come from the browser mock at 1920 x 1080. The UI ships in English and German.
At a glance ​
- Four camera types. Fixed, PTZ, dome and doorbell, each with its own field of view, range and PTZ limits. Add more at
runtime with
registerCameraType. See Cameras & recorders. - A recorder holds the footage. The recorder keeps a rolling buffer (48 hours, or a week for the Pro). Cameras are wired to it. Carry it away and the cameras go offline; smash or steal it and the footage goes with it unless it was backed up.
- Counterplay. Anybody can cover a lens (the monitor shows "blinded" until somebody cleans it) or steal or smash a recorder. See Cameras & recorders.
- Footage is an event log, not video. A camera records when something happened in front of it. Clips are saved windows of that log and stills are one picture. See Footage.
- Monitor. Camera grid, big view, day and infrared, PTZ with a patrol sweep, a 24 h timeline, an event feed, recorder health, a full camera view and keys for friends. See Monitor.
- Networks. A player's own site, or a job network (police, a shop chain, a prison) with access by grade. See Monitor.
- Share footage. A USB stick, a case with np_surveillance intel, a still on a screen with np_screens, a cloud backup of the recorder. See Footage.
- Owner alerts. Motion after hours becomes an np_phone banner for the owner.
- For other resources. Exports, hooks and events let a shop script log a till opening on the nearest camera or keep what the cameras saw of a hold-up.
Who uses it ​
np_cctv needs none of these. They plug in when they run.
| Resource | What it does with np_cctv |
|---|---|
| np_surveillance | np_cctv announces every camera as a source of np_surveillance and pings it, and files shared footage on a case when you hand it to the police (Integrations) |
| np_shops | A purchase becomes a "register opened" event on the camera next to the buyer; a robbery saves what the cameras saw as a clip |
| np_banking | Robbery evidence of type cctv becomes a clip from the cameras around the bank |
| np_prison | The alert level of a facility becomes an event on the networks that follow it |
| np_screens | A saved still can be shown on the nearest screen |
| np_phone | Owner alerts for after-hours motion |
Quick example ​
-- server: a shop script logs the till opening on the camera that watches it,
-- and keeps what the cameras saw of a hold-up
exports.np_cctv:logEvent({ coords = tillCoords, radius = 8.0, max = 1 }, 'register', { detail = '$240 sale' })
exports.np_cctv:logEvent({ coords = tillCoords, radius = 30.0 }, 'custom', { label = 'Hold-up', clip = 180 })
-- react to every after-hours sighting
AddEventHandler('np_cctv:server:event', function(p)
if p.event.kind == 'after_hours' then
print(('after-hours motion on %s'):format(p.camera.label))
end
end)




