preventCollectionOfPortablePickup
PREVENT_COLLECTION_OF_PORTABLE_PICKUP0x92AEFB5F6E294023The GTA V native PREVENT_COLLECTION_OF_PORTABLE_PICKUP of the OBJECT namespace, as LS:MP client scripts call it: the global function preventCollectionOfPortablePickup, in JavaScript and in Lua.
preventCollectionOfPortablePickup(
object: Object,
p1: boolean,
p2: boolean
): voidpreventCollectionOfPortablePickup(object: Object, p1: boolean, p2: boolean)Usage
JavaScript
preventCollectionOfPortablePickup(object, p1, p2);Lua
preventCollectionOfPortablePickup(object, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
p1 | BOOL | boolean | boolean |
p2 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void PREVENT_COLLECTION_OF_PORTABLE_PICKUP(Object object, BOOL p1, BOOL p2)- Hash
0x92AEFB5F6E294023