SetScriptGfxAlignParams — FiveM Natives
0xF5A2C681787E579D · GRAPHICS · all
Sets the draw offset/calculated size for SET_SCRIPT_GFX_ALIGN. If using any alignment other than left/top, the game expects the width/height to be configured using this native in order to get a proper starting position for the draw command.
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X offset for the item to be drawn. |
| y | float | The Y offset for the item to be drawn. |
| w | float | The width of the item to be drawn. |
| h | float | The height of the item to be drawn. |
Returns
void