RedM Natives

_ADD_COVER_BLOCKING_AREA

Hash0x733077295AB51304
Runtime nameAddCoverBlockingArea
NamespaceAICOVERPOINT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ADD_COVER_BLOCKING_AREA(Any* args);

Parameters

NameTypeDescription
argsAny*—

Returns void

Description

args: f_0 = Volume Handle
f_1 = integer (?) (only the number 1 is ever used here, or is not used at all)
f_2 = integer (-1 to 32 in R* Scripts)

Usage

Lua
local args = AddCoverBlockingArea(args)

-- always works, by hash
local args = Citizen.InvokeNative(0x733077295AB51304, Citizen.PointerValueIntInitialized(args))
JavaScript and C#
JavaScript
const args = AddCoverBlockingArea(args);

// by hash
const args = Citizen.invokeNative('0x733077295AB51304', Citizen.pointerValueIntInitialized(args));
C#
var args = new OutputArgument();
Function.Call((Hash)0x733077295AB51304, args);
// args.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • Any* arguments are often structs. Build them with a DataView buffer and pass it with :Buffer() — see the examples and notes below.
  • 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.

Sources

alloc8or RDR3 NativeDB

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