The Lab
PATH native

SIMULATED_ROUTE_GET_ETA

returns float1 parambuild 1207

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

Returns the estimated time of arrival for a simulated route.

Signature

C
float SIMULATED_ROUTE_GET_ETA(Any p0); // 0x2DD5F78D73B24172 b1207

Parameters

#NameType
1p0Any

Facts

Facts about SIMULATED_ROUTE_GET_ETA
Name
SIMULATED_ROUTE_GET_ETA
Hash
0x2DD5F78D73B24172
Namespace
Returns
float
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(0x2DD5F78D73B24172, -- SIMULATED_ROUTE_GET_ETA
  0, -- Any p0
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x2DD5F78D73B24172", // SIMULATED_ROUTE_GET_ETA
  0, // Any p0
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x2DD5F78D73B24172, // SIMULATED_ROUTE_GET_ETA
  0 // Any p0
);
All PATH natives

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