A stylish 3D waypoint marker for FiveM that displays distance to your map waypoint with smooth animations and multiple visual styles.
If you have any issues or suggestions, feel free to PR, create an issue or join my discord: https://discord.gg/FzPehMQaBQ
- 3D World Marker - Displays a floating marker above your waypoint location in the game world
- Live Distance - Real-time distance updates as you travel toward your destination
- Multiple Styles - Choose from classic, modern, or elegant visual designs
- Smooth Animations - Height adjusts dynamically based on distance with smooth lerp transitions
- Unit System - Supports both metric (m/km) and imperial (ft/mi) measurements
- Customizable Color - Set your preferred marker color via hex code
While efforts have been made to optimize this resource, it does run at a higher baseline than typical scripts due to the DUI (Dynamic UI) rendering required for the marker display.
Expected Performance:
- ~0.00ms when no waypoint is set
- ~0.01-0.02ms when waypoint is set but you're not actively looking at it
- ~0.05-0.07ms when waypoint is active and driving toward it
The render thread must run every frame to display the sprite, and the DUI browser engine adds inherent overhead. This is a trade-off for the visual flexibility that DUI provides.
- Download the latest release (ZIP, NOT SOURCE)
- Ensure
ox_libis started beforesd-waypoints - Add
sd-waypointsto your resources folder - Add
ensure sd-waypointsto your server.cfg
All settings are defined in config.lua:
return {
-- Locale for translations (e.g., 'en', 'de')
Locale = 'en',
-- Waypoint marker style
-- Options: 'classic', 'modern', 'elegant'
Style = 'classic',
-- The color of the waypoint marker (hex color code)
Color = '#22C55E',
-- Unit system for distance display
-- true = Metric (meters and kilometers)
-- false = Imperial (feet and miles)
UseMetric = true,
}| Style | Description |
|---|---|
classic |
Large distance display with divider and label |
modern |
Clean badge design with colored label bar |
elegant |
Decorative frame with corner accents and diamond separator |
Set any valid hex color code:
Color = '#22C55E', -- Green (default)
Color = '#3B82F6', -- Blue
Color = '#EF4444', -- Red
Color = '#F59E0B', -- AmberUseMetric = true, -- Shows: 150 M, 1.2 KM
UseMetric = false, -- Shows: 492 FT, 0.7 MITranslation files are located in the locales/ folder. The marker displays the localized "WAYPOINT" label based on your configured locale.
To add a new language, create a new file in locales/ (e.g., fr.json) following the existing format.