Deployable spy cameras for QBCore
- Drag
ms-spycams
into yourresources
directory - Add
ensure ms-spycams
to yourserver.cfg
AFTERqb-core
- The inventory images and items list are in the
INVENTORY
directory - Adjust
config/config_client.lua
andconfig/config_server.lua
to you liking - Restart you server
- Use the
spycam
item from your inventory to deploy a new spy camera - Use the
spycam_tablet
item to connect to and control your deployed spy camera(s) - Retrieve a spy camera by targeting it
If you don't want to utilise the spycam_tablet
item to connect to the deployed spy cameras, you can either use the command spycams:connect
or utilise the following exports from your scripts:
exports['ms-spycams']:Connect()
- Connects to deployed spy camerasexports['ms-spycams']:Disconnect()
- Disconnects from deployed spy cameras
- Pull requests are welcome