Exports
Staff mode
SetStaffMode, so staff on duty are excused for the detections you choose.
SetStaffMode (server)
Tells Hydra a player went on or off duty. Call it from your staff script's server side, after its own permission check.
pcall(function() exports.HydraAC:SetStaffMode(source, true) end) -- on duty
pcall(function() exports.HydraAC:SetStaffMode(source, false) end) -- off duty| Argument | Type | |
|---|---|---|
source | number | The player's server id. |
onDuty | boolean | true on duty, false off duty. |
While a player is on duty, the detections chosen in Settings › Staff mode are excused. Everything else is still watched.
There is no client version on purpose: anything a player's game can call, a cheat can call too.
Full guide, including escrowed scripts: Staff mode.