_RESET_MASK_OVERLAY
Clears/removes the 2D fullscreen mask overlay currently applied with _SET_MASK_OVERLAY.
Hash
0x5AC6E0FA028369DERuntime name
ResetMaskOverlayNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_REMOVE_MASK_OVERLAYSignature
void _RESET_MASK_OVERLAY();Returns void
Description
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.
Removes the mask overlay that was set with SET_MASK_OVERLAY
Usage
ResetMaskOverlay()
-- always works, by hash
Citizen.InvokeNative(0x5AC6E0FA028369DE)JavaScript and C#
ResetMaskOverlay();
// by hash
Citizen.invokeNative('0x5AC6E0FA028369DE');Function.Call((Hash)0x5AC6E0FA028369DE);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
_SET_MASK_OVERLAYApplies a 2D fullscreen mask/overlay component to the screen.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.