F5 StudioF5 Studio
Skip to main content

Features

Setup routine

The loadMap routine runs two seconds after the resource starts and two seconds after every playerSpawned event:

  1. RequestStreamedTextureDict('gta6_graphics'), then wait until it is loaded, at most 5 s.
  2. AddReplaceTexture('platform:/textures/graphics', 'radarmasksm', 'gta6_graphics', 'radarmasksm') swaps the radar mask for the rounded rectangle from the streamed dictionary.
  3. SetMinimapComponentPosition('minimap', 'L', 'B', -0.0045, 0.002, 0.170, 0.188888) anchors the minimap to the bottom-left with the GTA VI proportions.
  4. ReplaceHudColourWithRgba(142, 247, 115, 164, 255) turns HUD colour 142 (route line and waypoint) into the GTA VI pink.
  5. SetBigmapActive(true, false) followed by SetBigmapActive(false, false) forces the radar to redraw with the new settings.

Zoom lock

A loop every 500 ms calls SetBigmapActive(false, false) and SetRadarZoom(1000), so the zoom stays constant after entering a vehicle or an interior, or after another script toggles the big map.

What it does not do

  • It never calls DisplayRadar. Whether the radar is visible stays up to the game and your HUD.
  • It has no config and no in-game toggle; edit the numbers in client.lua to change the position or colour.
  • It does not change the map tiles. Combine it with gta6_atlasmap for the coloured Atlas map.

Streamed files

FileContent
minimap.gfxRadar scaleform
minimap.ytdRadar textures
gta6_graphics.ytdTexture dictionary with the rounded-rectangle radarmasksm mask