Skip to content

Commit eab3379

Browse files
authored
Update DrawMarker p19 parameter (#1240)
* Update DrawMarker.md * Update DrawMarker.md * Update DrawMarker_2.md
1 parent 938531e commit eab3379

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

GRAPHICS/DrawMarker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ns: GRAPHICS
55

66
```c
77
// 0x28477EC23D892089 0x48D84A02
8-
void DRAW_MARKER(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int p19, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts);
8+
void DRAW_MARKER(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int rotationOrder, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts);
99
```
1010
1111
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.
@@ -32,7 +32,7 @@ There's a [list of markers](https://docs.fivem.net/game-references/markers/) on
3232
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
3333
* **bobUpAndDown**: Whether or not the marker should slowly animate up/down.
3434
* **faceCamera**: Whether the marker should be a 'billboard', as in, should constantly face the camera.
35-
* **p19**: Typically set to `2`. Does not seem to matter directly.
35+
* **rotationOrder**: The order yaw, pitch and roll is applied. Usually `2`.
3636
* **rotate**: Rotations only apply to the heading.
3737
* **textureDict**: A texture dictionary to draw the marker with, or NULL. Example: 'GolfPutting'
3838
* **textureName**: A texture name in `textureDict` to draw the marker with, or NULL. Example: 'PuttingMarker'

GRAPHICS/DrawMarker_2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ aliases: ["0xE82728F0DE75D13A"]
66

77
```c
88
// 0xE82728F0DE75D13A
9-
void _DRAW_MARKER_2(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int p19, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts, BOOL p24);
9+
void _DRAW_MARKER_2(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int rotationOrder, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts, BOOL p24);
1010
```
1111
1212
```
@@ -33,7 +33,7 @@ NativeDB Added Parameter 26: BOOL p25
3333
* **alpha**:
3434
* **bobUpAndDown**:
3535
* **faceCamera**:
36-
* **p19**:
36+
* **rotationOrder**:
3737
* **rotate**:
3838
* **textureDict**:
3939
* **textureName**:

0 commit comments

Comments
 (0)