SIMULATED_ROUTE_TRAVEL_TO_POINT
Hash
0xA1A3DE1C215C7394Runtime name
SimulatedRouteTravelToPointNamespacePATH
SideClient
NameOfficial
Docs
Since build1207
Signature
void SIMULATED_ROUTE_TRAVEL_TO_POINT(Any p0, float p1, float p2);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any | — |
p1 | float | — |
p2 | float | — |
Returns void
Usage
SimulatedRouteTravelToPoint(p0, p1, p2)
-- always works, by hash
Citizen.InvokeNative(0xA1A3DE1C215C7394, p0, p1, p2)JavaScript and C#
SimulatedRouteTravelToPoint(p0, p1, p2);
// by hash
Citizen.invokeNative('0xA1A3DE1C215C7394', p0, p1 + 0.0000001, p2 + 0.0000001);Function.Call((Hash)0xA1A3DE1C215C7394, p0, p1, p2);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.