# Exports

## Exports:

```lua
-- Adds stress to the player. [Client]
exports.samy_hud:AddStress(Amount)

-- Removes stress from the player [Client]
exports.samy_hud:RemoveStress(Amount)

-- Sets the player's stress to an exact value. [Client]
exports.samy_hud:SetStress(Amount)

-- Toggles the HUD visibility (hide/show). [Client]
exports.samy_hud:ToggleHud()

-- Toggles cinematic mode (black bars at top and bottom). [Client]
exports.samy_hud:CinematicMode()
```

## Compatibilities:

```lua
-- Adds stress to the player.
TriggerServerEvent('hud:server:GainStress', amount) --[Client]
or
TriggerEvent('hud:server:GainStress', amount) --[Server]

-- Removes stress from the player
TriggerServerEvent('hud:server:RelieveStress', amount) --[Client]
or
TriggerEvent('hud:server:RelieveStress', amount) --[Server]
```
