Exports


OpenJobMenu

exports.dusa_police:OpenJobMenu()

Opens the interactive job menu for LEO officers. Displays hierarchical menu with citizen interactions, object placement, vehicle interactions, speed cameras, and MDT access.

Requirements:

  • Player must have LEO job

  • If Config.RequireDuty enabled: player must be on duty

Use Case: Command systems, hotkeys, or event-driven menu access for officers

Handcuff Status

local isCuffed = exports.dusa_police:IsHandcuffed()
-- @return boolean - true: handcuffed, false: free

local isSoftCuffed = exports.dusa_police:IsSoftCuffed()
-- @return boolean - true: soft cuffed, false: not soft cuffed

Use Case: Inventory, garage, or other scripts can block handcuffed players from certain actions

Prison Status

Use Case: HUD scripts can display prison timer, your system can restrict prisoner actions

Vision Status

Use Case: HUD effects, custom camera effects, compatibility with other vision systems

Use Case: Force player to search nearby


Last updated