PATHFIND
GET_NTH_CLOSEST_VEHICLE_NODE_FAVOUR_DIRECTION
0x45905BE8654AE067
Jenkins: 0x928A4DEC
Signature
// PATHFIND
BOOL GET_NTH_CLOSEST_VEHICLE_NODE_FAVOUR_DIRECTION(float x, float y, float z, float desiredX, float desiredY, float desiredZ, int nthClosest, Vector3* outPosition, float* outHeading, int nodetype, float p10, Any p11)
Parameters
| Type | Name |
|---|---|
| float | x |
| float | y |
| float | z |
| float | desiredX |
| float | desiredY |
| float | desiredZ |
| int | nthClosest |
| Vector3* | outPosition |
| float* | outHeading |
| int | nodetype |
| float | p10 |
| Any | p11 |
Return type BOOL
Build 323
Documentation
See gtaforums.com/topic/843561-pathfind-node-types for node type info. 0 = paved road only, 1 = any road, 3 = water p10 always equals 3.0 p11 always equals 0
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.