> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mhscripts.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Client Side

Exports

```lua theme={null}
-- Get current player data
local playerData = exports['mh_restaurants']:GetPlayerData()

-- Check if player is on duty
local onDuty = exports['mh_restaurants']:IsOnDuty()

-- Get restaurant data based on player's job
local restaurantId, restaurantData = exports['mh_restaurants']:GetRestaurantFromJob()

-- Get the restaurant the player is currently physically inside
local currentRestaurant = exports['mh_restaurants']:GetCurrentRestaurant()
```

Events

```text theme={null}
mh_restaurants:onJobUpdate (job)
mh_restaurants:toggleDuty - Toggles duty status for the current restaurant job.
```
