setPickupObjectGlowOffset
SET_PICKUP_OBJECT_GLOW_OFFSET0xA08FE5E49BDC39DDThe GTA V native SET_PICKUP_OBJECT_GLOW_OFFSET of the OBJECT namespace, as LS:MP client scripts call it: the global function setPickupObjectGlowOffset, in JavaScript and in Lua.
setPickupObjectGlowOffset(pickup: Pickup, p1: number, p2: boolean): voidsetPickupObjectGlowOffset(pickup: Pickup, p1: number, p2: boolean)Usage
JavaScript
setPickupObjectGlowOffset(pickup, p1, p2);Lua
setPickupObjectGlowOffset(pickup, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
pickup | Pickup | number | integer |
p1 | float | number | number |
p2 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p1 is always -0.2 in scripts and p2 is always true in scripts.
Reference
- Namespace
- Object OBJECT
- In the game
void SET_PICKUP_OBJECT_GLOW_OFFSET(Pickup pickup, float p1, BOOL p2)- Hash
0xA08FE5E49BDC39DD