The Lab
MAP native

START_GPS_MULTI_ROUTE

returns void3 paramsbuild 1207

Starts building a GPS multi-route with the given color, for travel on foot and/or in a vehicle.

Add points with ADD_POINT_TO_GPS_MULTI_ROUTE, then enable it with SET_GPS_MULTI_ROUTE_RENDER.

Signature

C
void START_GPS_MULTI_ROUTE(Hash colorNameHash, BOOL onFoot, BOOL inVehicle); // 0x3D3D15AF7BCAAF83 b1207

Parameters

#NameType
1colorNameHashHash
2onFootBOOL
3inVehicleBOOL

Facts

Facts about START_GPS_MULTI_ROUTE
Name
START_GPS_MULTI_ROUTE
Hash
0x3D3D15AF7BCAAF83
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x3D3D15AF7BCAAF83, -- START_GPS_MULTI_ROUTE
  GetHashKey("name"), -- Hash colorNameHash
  false, -- BOOL onFoot
  false -- BOOL inVehicle
)
JavaScript
Citizen.invokeNative("0x3D3D15AF7BCAAF83", // START_GPS_MULTI_ROUTE
  GetHashKey("name"), // Hash colorNameHash
  false, // BOOL onFoot
  false // BOOL inVehicle
);
C#
Function.Call((Hash)0x3D3D15AF7BCAAF83, // START_GPS_MULTI_ROUTE
  (uint)API.GetHashKey("name"), // Hash colorNameHash
  false, // BOOL onFoot
  false // BOOL inVehicle
);
All MAP natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.