START_GPS_MULTI_ROUTE
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
void START_GPS_MULTI_ROUTE(Hash colorNameHash, BOOL onFoot, BOOL inVehicle); // 0x3D3D15AF7BCAAF83 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | colorNameHash | Hash |
| 2 | onFoot | BOOL |
| 3 | inVehicle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x3D3D15AF7BCAAF83, -- START_GPS_MULTI_ROUTE
GetHashKey("name"), -- Hash colorNameHash
false, -- BOOL onFoot
false -- BOOL inVehicle
)Citizen.invokeNative("0x3D3D15AF7BCAAF83", // START_GPS_MULTI_ROUTE
GetHashKey("name"), // Hash colorNameHash
false, // BOOL onFoot
false // BOOL inVehicle
);Function.Call((Hash)0x3D3D15AF7BCAAF83, // START_GPS_MULTI_ROUTE
(uint)API.GetHashKey("name"), // Hash colorNameHash
false, // BOOL onFoot
false // BOOL inVehicle
);Related MAP natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.