Native referenceFiveM

FIND_SPAWN_POINT_IN_DIRECTION

0x6874E2190B0C1972 MISC
FUNCTION SIGNATURE
BOOL FIND_SPAWN_POINT_IN_DIRECTION(float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float distance, Vector3* spawnPoint);
Property Value
Native Name FIND_SPAWN_POINT_IN_DIRECTION
Hash 0x6874E2190B0C1972
Return Type BOOL
Parameters posX (float), posY (float), posZ (float), dirX (float), dirY (float), dirZ (float), distance (float), spawnPoint (Vector3*)

Description: ``` 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.

Back to MISC