Natives PATHFIND 0x703123E5E7D429C2 void GET_VEHICLE_NODE_POSITION (int nodeId, Vector3* outPosition); Documentation Community 0
Property
Value
Native Name
GET_VEHICLE_NODE_POSITION
Hash
0x703123E5E7D429C2
Return Type
void
Parameters
nodeId (int), outPosition (Vector3*)
Description: ```
Calling this with an invalid node id, will crash the game.
Note that IS_VEHICLE_NODE_ID_VALID simply checks if nodeId is not zero. It does not actually ensure that the id is valid.
Eg. IS_VEHICLE_NODE_ID_VALID(1) will return true, but will crash when calling GET_VEHICLE_NODE_POSITION().
Back to PATHFIND Before you callA `*` parameter here is an in/out pointer slot, not an ordinary value argument, and its marshalling depends on type and direction: getter out-slots come back as extra Lua return values (pass a Citizen.PointerValueInt() / PointerValueFloat() placeholder and read them after the normal return), while Vector3* params and in/out handles you supply a value into (e.g. a sequence-task id) are passed differently — confirm the exact convention with get_invoke_guide before passing it like a normal arg.
Let your AI read the fine print. Native signatures, warnings, and community context. Directly in your editor.
Connect via MCP