Client side
-- 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()Last updated