SetCivilianService
Set or clear a configured civilian service for a player
SetCivilianService
Use this server export to set or clear a player’s civilian service. To set a service, use a non-empty name from Config.CivilianServices.Services. The export does not run the player command’s ACE check.
Usage
local result = exports["FS-Scoreboard"]:SetCivilianService(source, "Tow")
if result.ok then
print(result.message)
end
-- Clear the override
exports["FS-Scoreboard"]:SetCivilianService(source, nil)Parameters
Prop
Type
Returns
Prop
Type