FindSpawnPointInDirection — FiveM Natives
0x6874E2190B0C1972 · MISC · all
`` 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. ``
Parameters
| Name | Type |
|---|---|
| posX | float |
| posY | float |
| posZ | float |
| dirX | float |
| dirY | float |
| dirZ | float |
| distance | float |
| spawnPoint | Vector3* |
Returns
BOOL