RedM Natives

DISABLE_LOOTING_COMPOSITE_LOOTABLE_THIS_FRAME

Disables composite eat prompt.

Hash0x40D72189F46D2E15
Runtime nameDisableLootingCompositeLootableThisFrame
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207

Signature

void DISABLE_LOOTING_COMPOSITE_LOOTABLE_THIS_FRAME(int compositeId, BOOL disable);

Parameters

NameTypeDescription
compositeIdint—
disableBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

Disables composite eat prompt.

VORPCORE RDR3natives

disables prompt eat

Usage

Lua
DisableLootingCompositeLootableThisFrame(compositeId, disable)

-- always works, by hash
Citizen.InvokeNative(0x40D72189F46D2E15, compositeId, disable)
JavaScript and C#
JavaScript
DisableLootingCompositeLootableThisFrame(compositeId, disable);

// by hash
Citizen.invokeNative('0x40D72189F46D2E15', compositeId, disable);
C#
Function.Call((Hash)0x40D72189F46D2E15, compositeId, disable);

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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