sign-posts-wrenchInstallation

⚙️ Installation – GRP AI Mechanic Script

The GRP AI Mechanic Script is designed for plug-and-play installation and supports both QBCore and ESX frameworks. Follow the steps below to get it up and running on your server.


✅ Requirements

  • ox_libarrow-up-right (must be started before this script)

  • Either qb-core or es_extended (depending on your framework)


📦 Installation Steps

1. Drag & Drop

Extract the grp_aimechanic folder and place it inside your resources directory.


2. Add to server.cfg

In your server.cfg, add:

ensure grp_aimechanic

3. Select Your Framework

Open the config.lua file and set the following based on your framework:

For QBCore:

For ESX:


4. Update fxmanifest.lua

Make sure your fxmanifest.lua includes only the dependency you’re using.

Example (For QBCore):

Example (For ESX):

🛑 Important: Only keep the core you're using uncommented. The other should remain commented out to avoid conflicts.


5. You're Done!

Players can now call an AI mechanic in-game via a command or keybind. The mechanic will arrive, repair the vehicle, and refuel if enabled.

Last updated