{"hash":"0x3A0F82F6EE2291C8","ns":"PATH","name":"_NAVMESH_REQUESTED_PATH_QUERY_STATUS","slug":"_NAVMESH_REQUESTED_PATH_QUERY_STATUS","official":false,"named":true,"luaName":"NavmeshRequestedPathQueryStatus","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"path","type":"int"}],"summary":"Returns eNavMeshQueryStatus QS_NOT_FOUND, QS_COMPLETE, QS_PENDING It appears that the pending state of 2 is at least also used when cleaning up a request (_NAVMESH_CLEAR_REQUESTED_PATH) or if a request never completes.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns eNavMeshQueryStatus\nenum eNavMeshQueryStatus\n{\n\tQS_NOT_FOUND,\n\tQS_COMPLETE,\n\tQS_PENDING\n};\n\nIt appears that the pending state of 2 is at least also used when cleaning up a request (_NAVMESH_CLEAR_REQUESTED_PATH) or if a request never completes. Eventually queries are invalidated and return 0.\n\nOld name: _NAVMESH_QUERY_STATUS, _NAVMESH_REQUESTED_QUERY_STATUS"}],"examples":[],"aliases":["_NAVMESH_REQUESTED_QUERY_STATUS"],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PATH/_NAVMESH_REQUESTED_PATH_QUERY_STATUS","markdownUrl":"https://natives.borderlinerp.com/natives/PATH/_NAVMESH_REQUESTED_PATH_QUERY_STATUS.md","snippets":{"lua":"local retval = NavmeshRequestedPathQueryStatus(path)","luaInvoke":"local retval = Citizen.InvokeNative(0x3A0F82F6EE2291C8, path, Citizen.ResultAsInteger())","js":"const retval = NavmeshRequestedPathQueryStatus(path);","jsInvoke":"const retval = Citizen.invokeNative('0x3A0F82F6EE2291C8', path, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x3A0F82F6EE2291C8, path);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}