RedM Natives

PREVENT_COLLECTION_OF_PORTABLE_PICKUP

Hash0x92AEFB5F6E294023
Runtime namePreventCollectionOfPortablePickup
NamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x92AEFB5F6E294023

Signature

void PREVENT_COLLECTION_OF_PORTABLE_PICKUP(Object object, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
objectObject—
p1BOOL—
p2BOOL—

Returns void

Usage

Lua
PreventCollectionOfPortablePickup(object, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0x92AEFB5F6E294023, object, p1, p2)
JavaScript and C#
JavaScript
PreventCollectionOfPortablePickup(object, p1, p2);

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

Sources

alloc8or RDR3 NativeDB

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