GetOfficerByStateId
Retrieve detailed information about an officer using their state íd.
local officer = exports.drx_mdt:GetOfficerByStateId(stateid)Paramters:
stateid(string): The state id of the officer.
Returns:
officer(tableornil): Returns a table with officer info if found, otherwisenil. The table includes: -id: (number) -stateid: (string) -badgenumber: (string) -department_id: (number) -rank_id: (number) -suspended: (boolean) -image_url: (stringornil) -roles: (tableof role IDs)
Last updated
Was this helpful?