The Lab
MAP native

_IS_PATH_FOR_GPS_ON_ROAD

returns BOOL0 paramsbuild 1207

Based on its name and signature, here is our best reading:

Returns true if the current GPS path follows roads.

Signature

C
BOOL _IS_PATH_FOR_GPS_ON_ROAD(); // 0xF47A1EB2A538A3A3 b1207

Parameters

This native takes no parameters.

Facts

Facts about _IS_PATH_FOR_GPS_ON_ROAD
Name
_IS_PATH_FOR_GPS_ON_ROAD
Hash
0xF47A1EB2A538A3A3
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xF47A1EB2A538A3A3) -- _IS_PATH_FOR_GPS_ON_ROAD
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xF47A1EB2A538A3A3", // _IS_PATH_FOR_GPS_ON_ROAD
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF47A1EB2A538A3A3); // _IS_PATH_FOR_GPS_ON_ROAD
All MAP natives

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