Minimap Toggle Script
Version: 1.3.0
Author: Twizz
Description:
This script allows server owners to control the visibility of the minimap for players, whether they are on foot or in a vehicle. With simple configuration options, you can decide whether the minimap should appear while walking, driving, or both. This adds a customizable and immersive experience to your FiveM server.
Features:
- Toggle minimap visibility when the player is on foot.
- Toggle minimap visibility when the player is in a vehicle.
- Lightweight and optimized for performance.
- Fully configurable with simple boolean values.
Configuration Options:
showMinimapOnFoot
: Set totrue
to show the minimap while on foot, orfalse
to hide it.showMinimapInVehicle
: Set totrue
to show the minimap while in a vehicle, orfalse
to hide it.
Use Cases:
- Enhance roleplay immersion by hiding the minimap when on foot.
- Create unique gameplay modes with no minimap for vehicles.
- Customize the visibility of the minimap to suit your server’s theme and style.
Installation:
- Place the script in your server’s
resources
folder. - Add
ensure toggle_minimap
to yourserver.cfg
. - Configure the
showMinimapOnFoot
andshowMinimapInVehicle
variables in the script to your preferences. - Restart your server to apply the changes.
Default Behavior:
- Minimap is hidden on foot (
showMinimapOnFoot = false
). - Minimap is visible in vehicles (
showMinimapInVehicle = true
).
Notes:
- The script dynamically updates the minimap visibility based on the player’s state (on foot or in a vehicle).
- Perfect for creating immersive and custom server experiences. |
Minimap_removed.zip (1.5 KB)