setPickupGlowOffset
SET_PICKUP_GLOW_OFFSET0x0596843B34B95CE5The GTA V native SET_PICKUP_GLOW_OFFSET of the OBJECT namespace, as LS:MP client scripts call it: the global function setPickupGlowOffset, in JavaScript and in Lua.
setPickupGlowOffset(pickup: Pickup, p1: number): voidsetPickupGlowOffset(pickup: Pickup, p1: number)Usage
JavaScript
setPickupGlowOffset(pickup, p1);Lua
setPickupGlowOffset(pickup, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
pickup | Pickup | number | integer |
p1 | float | number | number |
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.51. This native is called before setPickupRegenerationTime in all occurances.
Reference
- Namespace
- Object OBJECT
- In the game
void SET_PICKUP_GLOW_OFFSET(Pickup pickup, float p1)- Hash
0x0596843B34B95CE5- Introduced
- Game build 505 legacy numbering