GraphicsClient

resetScriptGfxAlign

RESET_SCRIPT_GFX_ALIGN0xE3A3DB414A373DAB

The GTA V native RESET_SCRIPT_GFX_ALIGN of the GRAPHICS namespace, as LS:MP client scripts call it: the global function resetScriptGfxAlign, in JavaScript and in Lua.

SignatureJavaScript
resetScriptGfxAlign(): void
SignatureLua
resetScriptGfxAlign()

Usage

JavaScript
resetScriptGfxAlign();
Lua
resetScriptGfxAlign()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This function resets the alignment set using setScriptGfxAlign and setScriptGfxAlignParams to the default values ('I', 'I'; 0, 0, 0, 0).
This should be used after having used the aforementioned functions in order to not affect any other scripts attempting to draw.

Reference

Namespace
Graphics GRAPHICS
In the game
void RESET_SCRIPT_GFX_ALIGN()
Hash
0xE3A3DB414A373DAB
Formerly
_SCREEN_DRAW_POSITION_END

Open in the interactive natives reference