-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
# ms-spycams | ||
Deployable spy cameras for QBCore | ||
|
||
|
||
## Dependencies | ||
* [qb-core](https://github.com/qbcore-framework/qb-core) | ||
* [ox_target](https://github.com/overextended/ox_target) | ||
|
||
|
||
## Install | ||
* Drag `ms-spycams` into your `resources` directory | ||
* Add `ensure ms-spycams` to your `server.cfg` AFTER `qb-core` | ||
* The inventory images and items list are in the `INVENTORY` directory | ||
* Adjust `config/config_client.lua` and `config/config_server.lua` to you liking | ||
* Restart you server | ||
|
||
|
||
## Usage | ||
* 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, you can trigger the following events: | ||
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 ustilse the following exports from your scripts: | ||
|
||
* `exports['ms-spycams']:Connect()` - Connects to deployed spy cameras | ||
* `exports['ms-spycams']:Disconnect()` - Disconnects from deployed spy cameras | ||
|
||
* `'spycams:client:connect'` - connects to the spy cameras (if any are deployed) | ||
* `'spycams:client:disconnect'` - disconnects from the spy cameras | ||
|
||
## Contributing | ||
* Pull requests are welcome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters