StartExpensiveSynchronousShapeTestLosProbe — FiveM Natives
0x377906D8A31E5586 · SHAPETEST · all
Does the same as START_SHAPE_TEST_LOS_PROBE, except blocking until the shape test completes. Use START_SHAPE_TEST_LOS_PROBE instead. Literally. Rockstar named this correctly: it's expensive, and it's synchronous.
Parameters
| Name | Type | Description |
|---|---|---|
| x1 | float | Starting X coordinate. |
| y1 | float | Starting Y coordinate. |
| z1 | float | Starting Z coordinate. |
| x2 | float | Ending X coordinate. |
| y2 | float | Ending Y coordinate. |
| z2 | float | Ending Z coordinate. |
| flags | int | See [START_SHAPE_TEST_LOS_PROBE](#\_0x7EE9F5D83DD4F90E). |
| entity | Entity | An entity to ignore, or 0. |
| p8 | int | A bit mask with bits 1, 2 and/or 4, relating to collider types. 4 should usually be used. |
Returns
int