RedM Natives

CLEAR_DRAW_ORIGIN

Resets the screen's draw-origin which was changed by the function SET_DRAW_ORIGIN back to x=0, y=0.

Hash0xDD76B263
Runtime nameClearDrawOrigin
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void CLEAR_DRAW_ORIGIN();

Returns void

Description

Cfx.re native reference

Resets the screen's draw-origin which was changed by the function SET_DRAW_ORIGIN back to x=0, y=0. See SET_DRAW_ORIGIN for further information.

Usage

Lua
ClearDrawOrigin()

-- always works, by hash
Citizen.InvokeNative(0xdd76b263)
JavaScript and C#
JavaScript
ClearDrawOrigin();

// by hash
Citizen.invokeNative('0xdd76b263');
C#
Function.Call((Hash)0xdd76b263);

See also

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.