This is a comprehensive Restaurant Job Script for FiveM (QBCore) that allows players to run a cafe/restaurant called "CafePJ". It features a complete workflow from gathering ingredients to serving customers.
Key Features:
π¨βπ³ Restaurant Job System
- Platers can be hired with grades ranging from Trainee to Manager
- Players can be hired with grades ranging from Trainee to Manager.
- Boss Menu: Managers can hire/fire employees, manage salaries, and withdraw society funds.
- Supply Shop: Employees can purchase ingredients (rice, chicken, teh, etc.) to stock the kitchen.
π€ AI NPC Customers
- Alive Environment: NPC customers automatically spawn, walk to the counter, and place orders.\
- Interaction: They wait for their food, can be served by employees, play eating animations, and pay for their meals.Dynamic
- Behavior: If they wait too long, they get angry and leave!
π Cooking & Crafting\
- Stations: Dedicated zones for Food (Dishes) and Drinks.Β
- Recipe System: Requires specific ingredients to prepare items (e.g., Nasi Goreng Kampung needs onion, egg, bilis, and rice).
- Preparation: Includes progress bars, props, and sound effects for immersive cooking.
π¦ Serving & Delivery
- Tray System: Workers pick up orders on a tray to serve them.
- Also can throw the dish incase the customers leave or cancel order
Targeting: Supports both qb-target and ox_target for interactions.
Delivery: Mechanics to deliver food to both NPC customers and real players.
βοΈ Compatibility
- Configurable to work with multiple inventory systems (qb-inventory, ox_inventory, qs-inventory).
- Flexible configuration for locations, prices, recipes, and more.
- In short, it translates the complete experience of running a busy Malaysian-style cafe into the game!