Advanced Documentation
Developer Documentation and other Advanced Configuration Topics for the Evidence Camera
Custom Inventory Integration
If you wish to use a custom inventory please first ensure that use_custom_inventory
is set to true
in your config.lua
For all the handling of photo items please see the /server/inventory.lua
file. In this file it is recommended that do the following:
Define your framework. Ex. Below
Begin your handling (All examples will be shown using QBCore)
First we will register our item with the framework. Ex. Below
Next we will make the item usable. Example below:
Now that our item is registered and usable we will begin the handling. The following event will be triggered when the photo is first put away. You will want to use this to cache the images link. Sononran:PutAway:Custom:First
. The example handling will be used in the form of QBCore. See below for example.
Passed Parameters To Sononran:PutAway:Custom:First
Sononran:PutAway:Custom:First
Parameter Name | Parameter Description |
---|---|
| The direct image link |
Last updated