Skip to content

Commit

Permalink
Update DrawMarker p19 parameter (#1240)
Browse files Browse the repository at this point in the history
* Update DrawMarker.md

* Update DrawMarker.md

* Update DrawMarker_2.md
  • Loading branch information
Alexr03 authored Jan 27, 2025
1 parent 938531e commit eab3379
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GRAPHICS/DrawMarker.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: GRAPHICS

```c
// 0x28477EC23D892089 0x48D84A02
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);
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);
```
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.
Expand All @@ -32,7 +32,7 @@ There's a [list of markers](https://docs.fivem.net/game-references/markers/) on
* **alpha**: The alpha component of the marker color, on a scale from 0-255.
* **bobUpAndDown**: Whether or not the marker should slowly animate up/down.
* **faceCamera**: Whether the marker should be a 'billboard', as in, should constantly face the camera.
* **p19**: Typically set to `2`. Does not seem to matter directly.
* **rotationOrder**: The order yaw, pitch and roll is applied. Usually `2`.
* **rotate**: Rotations only apply to the heading.
* **textureDict**: A texture dictionary to draw the marker with, or NULL. Example: 'GolfPutting'
* **textureName**: A texture name in `textureDict` to draw the marker with, or NULL. Example: 'PuttingMarker'
Expand Down
4 changes: 2 additions & 2 deletions GRAPHICS/DrawMarker_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aliases: ["0xE82728F0DE75D13A"]

```c
// 0xE82728F0DE75D13A
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);
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);
```
```
Expand All @@ -33,7 +33,7 @@ NativeDB Added Parameter 26: BOOL p25
* **alpha**:
* **bobUpAndDown**:
* **faceCamera**:
* **p19**:
* **rotationOrder**:
* **rotate**:
* **textureDict**:
* **textureName**:
Expand Down

0 comments on commit eab3379

Please sign in to comment.