Exports/Triggers

TRIGGERS Lua code examples for Client Side

TriggerEvent("sfems:tabletopen") -- open ems tablet
TriggerEvent("nuifix") -- if the NUI breaks.
local result = exports["sfems"]:bodyCamStatus()
return result -- true(BC is enable) or false(BC is disable)

EXPORTS Lua code examples for Server Side

local source = source
exports["sfems"]:revivePlayer(source)

In your radio script, add export so that the tablet shows data on which radio the doctor is on

local source = source
local channel = 1 -- for e.g.
exports["sfems"]:setChannelRadio(source, channel)

Last updated