RedM Natives

_RESET_MASK_OVERLAY

Clears/removes the 2D fullscreen mask overlay currently applied with _SET_MASK_OVERLAY.

Hash0x5AC6E0FA028369DE
Runtime nameResetMaskOverlay
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_REMOVE_MASK_OVERLAY

Signature

void _RESET_MASK_OVERLAY();

Returns void

Description

alloc8or RDR3 NativeDB

Clears/removes the 2D fullscreen mask overlay currently applied with _SET_MASK_OVERLAY.
Used during cleanup when the player puts away binoculars, exits a camera view, or when a screen fade/cutscene ends.

VORPCORE RDR3natives

Removes the mask overlay that was set with SET_MASK_OVERLAY

Usage

Lua
ResetMaskOverlay()

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

// by hash
Citizen.invokeNative('0x5AC6E0FA028369DE');
C#
Function.Call((Hash)0x5AC6E0FA028369DE);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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