ObjectClient

setPickupGlowOffset

SET_PICKUP_GLOW_OFFSET0x0596843B34B95CE5

The 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.

SignatureJavaScript
setPickupGlowOffset(pickup: Pickup, p1: number): void
SignatureLua
setPickupGlowOffset(pickup: Pickup, p1: number)

Usage

JavaScript
setPickupGlowOffset(pickup, p1);
Lua
setPickupGlowOffset(pickup, p1)

Parameters

ParameterTypeJavaScriptLua
pickupPickupnumberinteger
p1floatnumbernumber

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

Open in the interactive natives reference