ObjectClient

setMaxNumPortablePickupsCarriedByPlayer

SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER0x0BF3B3BD47D79C08

The 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.

SignatureJavaScript
setMaxNumPortablePickupsCarriedByPlayer(modelHash: Hash, number: number): void
SignatureLua
setMaxNumPortablePickupsCarriedByPlayer(modelHash: Hash, number: integer)

Usage

JavaScript
setMaxNumPortablePickupsCarriedByPlayer(modelHash, number);
Lua
setMaxNumPortablePickupsCarriedByPlayer(modelHash, number)

Parameters

ParameterTypeJavaScriptLua
modelHashHashnumberinteger
numberintnumberinteger

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

Open in the interactive natives reference