RedM Natives

_IS_PICKUP_PICKABLE_FOR_TEAM

Returns whether the pickup object is pickable for the specified team.

Hash0x9F52AD67D1A91BAD
Runtime nameIsPickupPickableForTeam
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_PICKUP_PICKABLE_FOR_TEAM(Object object, int teamId);

Parameters

NameTypeDescription
objectObject—
teamIdint—

Returns BOOL

Description

Returns whether the pickup object is pickable for the specified team.
Observed with portable pickups: after SET_TEAM_PICKUP_OBJECT disables pickup for team 1, this returns false for team 1 while remaining true for another team.

Usage

Lua
local retval = IsPickupPickableForTeam(object, teamId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9F52AD67D1A91BAD, object, teamId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPickupPickableForTeam(object, teamId);

// by hash
const retval = Citizen.invokeNative('0x9F52AD67D1A91BAD', object, teamId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x9F52AD67D1A91BAD, object, teamId);
  • 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.