GET_VEHICLE_NODE_POSITION
Hash
0x8E8D72FF24DEE1FBRuntime name
GetVehicleNodePositionNamespacePATH
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x703123E5E7D429C2Signature
void GET_VEHICLE_NODE_POSITION(int nodeId, Vector3* outPosition);Parameters
| Name | Type | Description |
|---|---|---|
nodeId | int | — |
outPosition | Vector3* | — |
Returns void
Usage
local outPosition = GetVehicleNodePosition(nodeId, outPosition)
-- always works, by hash
local outPosition = Citizen.InvokeNative(0x8E8D72FF24DEE1FB, nodeId, Citizen.PointerValueVector())JavaScript and C#
const outPosition = GetVehicleNodePosition(nodeId, outPosition);
// by hash
const outPosition = Citizen.invokeNative('0x8E8D72FF24DEE1FB', nodeId, Citizen.pointerValueVector());var outPosition = new OutputArgument();
Function.Call((Hash)0x8E8D72FF24DEE1FB, nodeId, outPosition);
// outPosition.GetResult<Vector3>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.