IsActiveLeo
Server export to check if a player is an active LEO (Sonoran CAD)
IsActiveLeo
Checks if a player is an active law enforcement unit in Sonoran CAD.
Returns ok = false when Sonoran integration is disabled, the player has no active unit,
or the player id is invalid.
Usage
local result = exports["FS-Scoreboard"]:IsActiveLeo(source)
if result.ok then
print("Player is active LEO")
else
print(("Not active LEO: %s"):format(result.reason or "unknown"))
endParameters
Prop
Type
Returns
Prop
Type