RedM Natives

_IS_MODEL_A_PORTABLE_PICKUP

returns true if the model hash is a portable pickup its used before creating a portable pick up for example

Hash0x20135AF9C10D2A3D
Runtime nameIsModelAPortablePickup
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Any _IS_MODEL_A_PORTABLE_PICKUP(Any p0);

Parameters

NameTypeDescription
p0Any—

Returns Any

Description

VORPCORE RDR3natives

returns true if the model hash is a portable pickup its used before creating a portable pick up for example

Usage

Lua
local retval = IsModelAPortablePickup(p0)

-- always works, by hash
local retval = Citizen.InvokeNative(0x20135AF9C10D2A3D, p0, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = IsModelAPortablePickup(p0);

// by hash
const retval = Citizen.invokeNative('0x20135AF9C10D2A3D', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x20135AF9C10D2A3D, p0);
  • 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 · VORPCORE RDR3natives

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