MISC

FIND_SPAWN_POINT_IN_DIRECTION

0x6874E2190B0C1972 Jenkins: 0x71AEFD77

Signature

// MISC
BOOL FIND_SPAWN_POINT_IN_DIRECTION(float posX, float posY, float posZ, float fwdVecX, float fwdVecY, float fwdVecZ, float distance, Vector3* spawnPoint)

Parameters

Type Name
float posX
float posY
float posZ
float fwdVecX
float fwdVecY
float fwdVecZ
float distance
Vector3* spawnPoint

Return type BOOL

Build 323

Documentation

Finds a position ahead of the player by predicting the players next actions. The positions match path finding node positions. When roads diverge, the position may rapidly change between two or more positions. This is due to the engine not being certain of which path the player will take.

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.