setMaxNumPortablePickupsCarriedByPlayer
SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER0x0BF3B3BD47D79C08The GTA V native SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER of the OBJECT namespace, as LS:MP client scripts call it: the global function setMaxNumPortablePickupsCarriedByPlayer, in JavaScript and in Lua.
setMaxNumPortablePickupsCarriedByPlayer(modelHash: Hash, number: number): voidsetMaxNumPortablePickupsCarriedByPlayer(modelHash: Hash, number: integer)Usage
JavaScript
setMaxNumPortablePickupsCarriedByPlayer(modelHash, number);Lua
setMaxNumPortablePickupsCarriedByPlayer(modelHash, number)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
modelHash | Hash | number | integer |
number | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER(Hash modelHash, int number)- Hash
0x0BF3B3BD47D79C08