GetOfficerSuspended


Get a officers suspended state

---@param stateid string
---@return boolean
exports.drx_mdt:GetOfficerSuspended()

Example using source

local function getOfficerSuspendedBySource(source)
  local suspended = exports.drx_mdt:GetOfficerSuspended({ source = source })
end

Example using stateid

local function getOfficerSuspendedByStateid(source)
  local stateid = exports.drx_mdt:GetStateId({ source = source })
  local suspended = exports.drx_mdt:GetOfficerSuspended({ stateid = stateid })
end

Last updated