SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
Sets the maximum number of portable pickups of the given model a player can carry.
Signature
void SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER(Hash modelHash, int p1); // 0x0BF3B3BD47D79C08 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | modelHash | Hash |
| 2 | p1 | int |
Facts
| 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.
Citizen.InvokeNative(0x0BF3B3BD47D79C08, -- SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
GetHashKey("a_c_horse_arabian_white"), -- Hash modelHash
0 -- int p1
)Citizen.invokeNative("0x0BF3B3BD47D79C08", // SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER
GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
0 // int p1
);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
);Related OBJECT natives
- SET_LOCAL_PLAYER_CAN_COLLECT_PORTABLE_PICKUPS
- SET_LOCAL_PLAYER_PERMITTED_TO_COLLECT_PICKUPS_WITH_MODEL
- _SET_AUTO_JUMPABLE_BY_HORSE
- _SET_NETWORK_PICKUP_USABLE_FOR_PLAYER
- _SET_NOT_JUMPABLE_BY_HORSE
- SET_ACTIVATE_OBJECT_PHYSICS_AS_SOON_AS_IT_IS_UNFROZEN
- SET_CUSTOM_TEXTURES_ON_OBJECT
- SET_FORCE_OBJECT_THIS_FRAME
- SET_OBJECT_ALLOW_LOW_LOD_BUOYANCY
- SET_OBJECT_PHYSICS_PARAMS
- SET_OBJECT_TAKES_DAMAGE_FROM_COLLIDING_WITH_BUILDINGS
- SET_OBJECT_TARGETTABLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.