ObjectClient

attachPortablePickupToPed

ATTACH_PORTABLE_PICKUP_TO_PED0x8DC39368BDD57755

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

SignatureJavaScript
attachPortablePickupToPed(pickupObject: Object, ped: Ped): void
SignatureLua
attachPortablePickupToPed(pickupObject: Object, ped: Ped)

Usage

JavaScript
attachPortablePickupToPed(pickupObject, ped);
Lua
attachPortablePickupToPed(pickupObject, ped)

Parameters

ParameterTypeJavaScriptLua
pickupObjectObjectnumberinteger
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void ATTACH_PORTABLE_PICKUP_TO_PED(Object pickupObject, Ped ped)
Hash
0x8DC39368BDD57755

Open in the interactive natives reference