The Police HR Tablet System provides a range of developer exports that allow you to access officer data, division structure, and permissions programmatically. These exports are ideal for integrating the HR system with other scripts such as MDTs, duty trackers, inventory systems, or admin panels.
Use them to enhance gameplay functionality, enforce role-based access, or build custom features around your department infrastructure.
Click to view Exports List
๐ฆ Export: HR Tablet โ Example Usage
The Police HR Tablet System includes useful exports so developers can interact with officer data, ranks, divisions, and permissions from other scripts like duty systems, MDTs, or menu UIs.
Returns the path or URL to the officer's profile photo.
๐ Get Personal Permissions
exports['evo-pd-hr']:GetPersonalPermissions(identifier, function(permissions)
if permissions then
print("Permissions:", json.encode(permissions))
end
end)
Returns a table of permission keys assigned to the officer (e.g., dashboard, employee, forms...).