RedM Natives

DETACH_CARRIABLE_ENTITY

Hash0xED00D72F81CF7278
Runtime nameDetachCarriableEntity
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

void DETACH_CARRIABLE_ENTITY(Entity entity, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
entityEntity—
p1BOOL—
p2BOOL—

Returns void

Description

femga rdr3_discoveries · research notes

0xED00D72F81CF7278 by Nikez
takes 3 parameters, p1 is an hash for the carried entity (when carrying a pelt), p2 is a bool, p3 is a bool, unsure what the bools do. This instantly drops the carried pelt.

Usage

Lua
DetachCarriableEntity(entity, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0xED00D72F81CF7278, entity, p1, p2)
JavaScript and C#
JavaScript
DetachCarriableEntity(entity, p1, p2);

// by hash
Citizen.invokeNative('0xED00D72F81CF7278', entity, p1, p2);
C#
Function.Call((Hash)0xED00D72F81CF7278, entity, p1, p2);

Sources

alloc8or RDR3 NativeDB · femga rdr3_discoveries

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