RedM Natives

_DEACTIVATE_COVER_LAYER

deactivates a cover layer activated with 0x64340DC208D671D5 coverLayer: see levels_0/levels/rdr3/coverlayers

Hash0x7A1FDCF35EAA140F
Runtime nameDeactivateCoverLayer
NamespaceAICOVERPOINT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _DEACTIVATE_COVER_LAYER(const char* coverLayer);

Parameters

NameTypeDescription
coverLayerconst char*—

Returns void

Description

alloc8or RDR3 NativeDB

coverLayer: see levels_0/levels/rdr3/coverlayers

VORPCORE RDR3natives

deactivates a cover layer activated with 0x64340DC208D671D5 coverLayer: see levels_0/levels/rdr3/coverlayers

Usage

Lua
DeactivateCoverLayer(coverLayer)

-- always works, by hash
Citizen.InvokeNative(0x7A1FDCF35EAA140F, coverLayer)
JavaScript and C#
JavaScript
DeactivateCoverLayer(coverLayer);

// by hash
Citizen.invokeNative('0x7A1FDCF35EAA140F', coverLayer);
C#
Function.Call((Hash)0x7A1FDCF35EAA140F, coverLayer);
  • 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.