Remove any old minimap script from your resources.
Cleanup
Open Visual Studio Code.
Press CTRL + K + O to open a folder.
Select your server folder and press Open.
Press CTRL + SHIFT + F to search for the following lines:
SetMapZoomDataLevel
SetRadarZoom
Remove these lines if found, but do not remove them from the new script!
Ensuring
Drag and drop the new resource into your resources folder.
Open your server.cfg file and add the following line after your framework, replacing "script-name" with your actual script name (e.g., abl-minimap-X8-OP):
ensure ox_lib ## my libensure qb-core ## my frameworkensure "script-name"
Restart your server.
Configuration
You can adjust the background opacity in Config.Options.opacity (Max: 200, Min: 0).
Pause Menu colors can be edited in Config.Options.RedGreenBlueAlpha. You can use the RGBA Color Picker to choose your preferred colors.
Note: If you change colors, please avoid modifying ["ALPHA"] = 0.8.
To customize titles, refer to Config.Options.Header.