FearlessStudios

SetCustomJob

Legacy server export retained for compatibility

Deprecated

Use SetCivilianService for new integrations. SetCustomJob remains available for compatibility and logs a one-time deprecation warning.

Usage

server.lua
local result = exports["FS-Scoreboard"]:SetCustomJob(source, "Tow")
if result.ok then
    print(result.message)
end

Unlike SetCivilianService, this legacy export accepts unlisted non-empty job names. Use nil, "clear", or "none" to clear the override.

Parameters

Prop

Type

Returns

Returns { ok: boolean, message: string }.