Advanced Documentation
Developer Documentation and other Advanced Configuration Topics for the Evidence Camera
Custom Inventory Integration
Define your framework. Ex. Below
local QBCore = nil
if config.frameworks.use_qbcore then
QBCore = exports["qb-core"]:GetCoreObject()
endBegin your handling (All examples will be shown using QBCore)
exports["qb-core"]:AddItem("sonoran_evidence_photo", {
name = "sonoran_evidence_photo",
label = "Photo",
weight = 0,
type = "item",
image = "evidence.png",
unique = true,
useable = true,
shouldClose = false,
combinable = nil,
description = "A sweet polaroid photo"
})
QBCore.Functions.CreateUseableItem("sonoran_evidence_photo", function(source, item)
TriggerClientEvent("sonoran:lookphoto:qbcore", source, item)
end)Passed Parameters To Sononran:PutAway:Custom:First
Sononran:PutAway:Custom:FirstParameter Name
Parameter Description
Last updated
Was this helpful?