GRAPHICS

SET_SCRIPT_GFX_ALIGN_PARAMS

0xF5A2C681787E579D Jenkins: 0x76C641E4

Signature

// GRAPHICS
void SET_SCRIPT_GFX_ALIGN_PARAMS(float x, float y, float w, float h)

Parameters

Type Name
float x
float y
float w
float h

Return type void

Build 323

Former names

  • _SCREEN_DRAW_POSITION_RATIO

Documentation

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.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.