Enable custom map and minimap with postal code for altV server.
This is a port of the FiveM resource: https://forum.cfx.re/t/free-release-postal-code-map-minimap-fixed/4882127
- alt:V Server 14 (release)
Also tested with Athena Framework v5
Download this repository.
-
Copy
resources/addon-map
andresources/addon-map-zoom
intoresources
folder on your server. -
Add this resources to your
server.toml
like below:# ...other config resources = [ # ...other resources "addon-map-zoom", "addon-map" ]
-
Enjoy!
Since the Athena framework has a different approach to managing the altV server, the streamable and script resources are placed separately.
- Copy
resources/addon-map
to theresources/mods
folder. - Register the mod to the configuration located in
configs
folder (dev|devtest|prod.json
), e.g.:"resources": [ // ...other mods "addon-map", "core" ],
- Copy
athena-plugin/addon-map-zoom
to thesrc/core/plugins
- Enjoy!
The both altv resource and Athena plugin contains a command to adjust the zoom level of the radar. This command is used for testing and debugging puprose.
- Open the command box (default is T on keyboard)
- Type
/radarzoom [level]
(the value of level ranges from 0 to 1400 e.g./radarzoom 1200
. See https://natives.altv.mp/#/0x096EF57A0C999BBA)
- Sometimes the radar/minimap does not shows the custom map correctly due to the known bug here: altmp/altv-issues#956