Outcome
The map opens in game on the toggle key and shows the markers your other resources create.Prerequisites
element_sdkinstalled and starting before this resource. See Install a product.- The
element_maparchive from the CFX portal.
es_extended, qb-core or qbx_core running, the player card shows the framework’s character
name; without one, the map shows the FiveM account name and reads whether the player is alive from
the game itself.
Steps
1. Extract the archive
fxmanifest.lua must be directly inside that directory.
2. Add it to server.cfg, after the SDK
3. Restart the server
4. Install the integration
The map shows markers created by your other resources, and reaching them needs one script, shipped with the release, to be installed into those resources:5. Open the map in game
The map is bound toESCAPE by default. Players rebind it for themselves in the FiveM key-mapping
menu, under the label Toggle 3D Map.
To change the default for players who have not chosen their own, see
Controls.
Verification
Three checks:- The console reports a clean start for
element_map, with no[ERROR]or[WARN ]line naming it. If it does not start at all, see A product does not start. - The key opens the map, the camera rises above your character, and the interface appears.
- Markers created by your other resources are visible and listed in the legend. If they are not, the integration is missing. See Markers do not appear.
Next steps
- How players use the map: every control, worth sharing with your players.
- Configuration: the eight groups of settings.
- Exports: driving the map from your own resources.