ObjectClient

allowPortablePickupToMigrateToNonParticipants

ALLOW_PORTABLE_PICKUP_TO_MIGRATE_TO_NON_PARTICIPANTS0x641F272B52E2F0F8

The GTA V native ALLOW_PORTABLE_PICKUP_TO_MIGRATE_TO_NON_PARTICIPANTS of the OBJECT namespace, as LS:MP client scripts call it: the global function allowPortablePickupToMigrateToNonParticipants, in JavaScript and in Lua.

SignatureJavaScript
allowPortablePickupToMigrateToNonParticipants(
  pickup: Pickup,
  toggle: boolean
): void
SignatureLua
allowPortablePickupToMigrateToNonParticipants(
  pickup: Pickup,
  toggle: boolean
)

Usage

JavaScript
allowPortablePickupToMigrateToNonParticipants(pickup, toggle);
Lua
allowPortablePickupToMigrateToNonParticipants(pickup, toggle)

Parameters

ParameterTypeJavaScriptLua
pickupPickupnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void ALLOW_PORTABLE_PICKUP_TO_MIGRATE_TO_NON_PARTICIPANTS(Pickup pickup, BOOL toggle)
Hash
0x641F272B52E2F0F8
Introduced
Game build 877 legacy numbering

Open in the interactive natives reference