outsider medicalman

documentation for medicalman script

STATEBAGS
-- for light checks
local isDoctor = LocalPlayer.state.IsDoctor

local isOnDuty = LocalPlayer.state.IsDoctorOnDuty
STATEBAGS
-- for light checks
local isDoctor = Player(source).state.IsDoctor

local isOnDuty = Player(source).state.IsDoctorOnDuty
EXPORTS
---@param source integer
---@return boolean
local isOnDuty = exports.outsider_medicalman:IsOnMedicalDuty(source)

---@return boolean
local isAnyDoctorOnDuty = exports.outsider_medicalman:IsAnyDoctorOnDuty()

---@param location string the location to go on duty
exports.outsider_medicalman:SetOnDuty(location)

---@param location string the location to go off duty
exports.outsider_medicalman:SetOffDuty(location)

if more documentation is needed please ask in our discord for it

Last updated