# Expotrs

### Client Exports

### &#x20;**➤** getSeatbeltStatus

Returns the player is wearing a seat belt

**Usage Example:**

```lua
local SeatBelt = exports["nrg_hud"]:getSeatbeltStatus()
```

`SeatBelt = False/True` \ <br>

### &#x20;**➤** ToggleVisible

Set hud visable

**Usage Example:**

```lua
exports['nrg_hud']:ToggleVisible(status)
```

`status = false/true` \
&#x20;\
\
&#x20;

### **➤** addNotification

```lua
exports["nrg_hud"]:addNotification(message, time, type, position, title)
```

**or**&#x20;

```lua
TriggerClientEvent('nrg_hud:addNotification', source, message, time, type, position, title)
```

*Default:*

```
time = 3000
type = info
position = top-right
```

*Options to use:*

```lua
type = 
    error,
    success,
    info,
    warning 
    
position = 
    top-left,
    top-center,
    top-right,
    center-left,
    center-right,
    bottom-left,
    bottom-center,
    bottom-right,
```

<br>
