# Jobs Menu

#### 🔧 Performance

<figure><img src="https://1983421395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw9dy2wqJ7KuVTIcA2UYf%2Fuploads%2Fl5qHtIvBKnB9HxOcfYVx%2FJOBSMENU.png?alt=media&#x26;token=0f9b14c3-621a-419d-b679-629b0154bdde" alt=""><figcaption></figcaption></figure>

This script is fully optimized for server efficiency.\
It runs consistently at `0.00 ms` in `resmon`, ensuring zero impact on performance.

```
# Idle:       0.00 ms  
# In use:     0.00 ms  
```

***

#### 🔄 Compatibility

Compatible with both **QBCore** and **ESX** frameworks.\
Designed to support multicharacter setups (`char1:license:...`), and integrates seamlessly with your existing job system.

***

#### 🖥️ UI & Experience

Includes a sleek, animated **NUI panel** with modern visuals.\
Responsive and adaptable to all resolutions, built for both clarity and user comfort.

***

#### 🧠 Smart Logic & Persistence

Every job slot is synced and stored in your **MySQL** database (`oxmysql`).\
The system remembers job and rank across restarts and character swaps.

* Job and grade per slot are saved and reloaded automatically
* Slot 1 always reflects the player's current active job
* Switching is instant and handled with visual feedback

***

#### ⚙️ Admin Tools

Integrated with permission-checked commands:

* `/addslotjob <id>` → Adds a new empty slot
* `/setslotjob <id> <amount>` → Adjusts total slots directly
* All changes are reflected both in memory and the database

***

#### 🎯 What this system adds to your server

✅ Multi-job functionality per player\
✅ Real-time job switching\
✅ Visual job management via panel\
✅ Admin control over slot count\
✅ No external dependencies required\
✅ Lightweight, multilingual, and modular
