The Lab
PLAYER native

_SET_PLAYER_CAN_PICKUP_ABILITY

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets whether player can pick up ability items.

Signature

C
void _SET_PLAYER_CAN_PICKUP_ABILITY(Player player, BOOL isVisible); // 0xD1A70C1E8D1031FE b1207

Parameters

#NameType
1playerPlayer
2isVisibleBOOL

Facts

Facts about _SET_PLAYER_CAN_PICKUP_ABILITY
Name
_SET_PLAYER_CAN_PICKUP_ABILITY
Hash
0xD1A70C1E8D1031FE
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xD1A70C1E8D1031FE, -- _SET_PLAYER_CAN_PICKUP_ABILITY
  PlayerId(), -- Player player
  false -- BOOL isVisible
)
JavaScript
Citizen.invokeNative("0xD1A70C1E8D1031FE", // _SET_PLAYER_CAN_PICKUP_ABILITY
  PlayerId(), // Player player
  false // BOOL isVisible
);
C#
Function.Call((Hash)0xD1A70C1E8D1031FE, // _SET_PLAYER_CAN_PICKUP_ABILITY
  API.PlayerId(), // Player player
  false // BOOL isVisible
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.