> For the complete documentation index, see [llms.txt](https://docs.scriptsfivem.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scriptsfivem.com/resources/sfems/exports-triggers.md).

# Exports/Triggers

## TRIGGERS Lua code examples for Client Side

```lua
TriggerEvent("sfems:tabletopen") -- open ems tablet
```

```lua
TriggerEvent("nuifix") -- if the NUI breaks.
```

```lua
local result = exports["sfems"]:bodyCamStatus()
return result -- true(BC is enable) or false(BC is disable)
```

## EXPORTS Lua code examples for Server Side

```lua
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

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