Browse docs
Server: Usable items
Reference for Server: Usable items in policejob.
This page documents the supported public integration calls. Client values are never authoritative for police permissions, review decisions, evidence, offences, or billing.
Server Exports
Usable items
useItem(source, itemName, payload?)
- Purpose: Triggers a registered Police-specific usable-item handler for a player. Use this when your inventory or another resource wants to run a Police item such as
gps_trackerwithout going throughRegisterUsableItem. Shared restraint items belong tosky_jobs_base. - Returns:
boolean—truewhen a handler ran successfully; prints an English debug message when no handler is registered for the item.
exports["sky_policejob"]:useItem(source, "gps_tracker")