The Lab
OBJECT native

SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER

returns void2 paramsbuild 1207

Sets the maximum number of portable pickups of the given model a player can carry.

Signature

C
void SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER(Hash modelHash, int p1); // 0x0BF3B3BD47D79C08 b1207

Parameters

#NameType
1modelHashHash
2p1int

Facts

Facts about SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
Name
SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
Hash
0x0BF3B3BD47D79C08
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(0x0BF3B3BD47D79C08, -- SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
  GetHashKey("a_c_horse_arabian_white"), -- Hash modelHash
  0 -- int p1
)
JavaScript
Citizen.invokeNative("0x0BF3B3BD47D79C08", // SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
  GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
  0 // int p1
);
C#
Function.Call((Hash)0x0BF3B3BD47D79C08, // SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
  (uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
  0 // int p1
);
All OBJECT natives

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