DrawMarker — FiveM Natives
0x28477EC23D892089 · GRAPHICS · all
Draws a marker with the specified appearance at the target location. This has to be called every frame, e.g. in a Wait(0) loop. There's a list of markers on the FiveM documentation site.
Parameters
| Name | Type | Description |
|---|---|---|
| type | int | The marker type to draw. |
| posX | float | The X coordinate to draw the marker at. |
| posY | float | The Y coordinate to draw the marker at. |
| posZ | float | The Z coordinate to draw the marker at. |
| dirX | float | The X component of the direction vector for the marker, or 0.0 to use rotX/Y/Z. |
| dirY | float | The Y component of the direction vector for the marker, or 0.0 to use rotX/Y/Z. |
| dirZ | float | The Z component of the direction vector for the marker, or 0.0 to use rotX/Y/Z. |
| rotX | float | The X rotation for the marker. Only used if the direction vector is 0.0. |
| rotY | float | The Y rotation for the marker. Only used if the direction vector is 0.0. |
| rotZ | float | The Z rotation for the marker. Only used if the direction vector is 0.0. |
| scaleX | float | The scale for the marker on the X axis. |
| scaleY | float | The scale for the marker on the Y axis. |
| scaleZ | float | The scale for the marker on the Z axis. |