Installation — ns-mekanik
-
Put the
ns-mekanikfolder into your resources (e.g.resources/[nullsect]/ns-mekanik). -
Make sure
ox_libstarts before it. -
Add to
server.cfg:ensure ns-mekanik -
The command is restricted to
group.admin. If your admins are not in that ACE group yet:add_principal identifier.license:YOUR_LICENSE group.admin -
Restart the server.
No database tables, items or SQL imports are needed.
Use
- Stand within 5 m of a vehicle, or sit in it.
- Type
/mekanik.
| Key | Action |
|---|---|
| ↑ / ↓ | Move through the menu (the car previews the hovered option) |
| ← / → | Change a value (list, level, slider) |
| Enter | Open a category, keep the previewed value |
| Backspace | Back / put the current slot back |
| ESC | Close (anything only previewed is restored) |
| Mouse drag outside the panel | Orbit the camera |
| Mouse wheel | Zoom |
The car is frozen while the menu is open and released when it closes. If the car is more than 10 m away or gone when you change something, the menu closes instead of applying the change.
Verify
| Check | Expected |
|---|---|
/mekanik as a non-admin | ox_lib refuses the command |
/mekanik with no car nearby | "Yakında araç yok." notification |
| Hover a wheel model, then press Backspace | The wheel changes, then goes back |
| Change a colour, park the car in a qbx_garages garage, take it out | The colour is kept |
Troubleshooting
| Problem | Solution |
|---|---|
| "Araç kontrolü alınamadı, tekrar dene." | Another player has network control of the car. Try again, or sit in the car first. |
| Mods are gone after a restart | The menu does not save by itself. Park the car in a garage that stores ox_lib properties (qbx_garages does). |
| Paint finish is lost after parking | Pick the finish in the colour editor: the colour is written as a custom RGB colour so the finish is saved with it. |
| A category says "Bu araç için parça yok" | That car model has no parts for it. |