_IS_PATH_FOR_GPS_ON_ROAD
Checks if the GPS route to the waypoint is navigable along a road.
Hash
0xF47A1EB2A538A3A3Runtime name
IsPathForGpsOnRoadNamespaceMAP
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_IS_GPS_ROUTE_ON_ROADSignature
BOOL _IS_PATH_FOR_GPS_ON_ROAD();Returns BOOL
Description
Checks if the GPS route to the waypoint is navigable along a road.
If a route exists but there is no valid road path, this function returns false.
Usage
local retval = IsPathForGpsOnRoad()
-- always works, by hash
local retval = Citizen.InvokeNative(0xF47A1EB2A538A3A3, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPathForGpsOnRoad();
// by hash
const retval = Citizen.invokeNative('0xF47A1EB2A538A3A3', Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xF47A1EB2A538A3A3);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.