ObjectClientNot in this build

setPickupGlowDisabled

_SET_PICKUP_GLOW_DISABLED0x08BD8BA5BDE2C2FA

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

SignatureJavaScript
setPickupGlowDisabled(pickup: Pickup, toggle: boolean): void
SignatureLua
setPickupGlowDisabled(pickup: Pickup, toggle: boolean)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setPickupGlowDisabled(pickup, toggle);
Lua
setPickupGlowDisabled(pickup, toggle)

Parameters

ParameterTypeJavaScriptLua
pickupPickupnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void _SET_PICKUP_GLOW_DISABLED(Pickup pickup, BOOL toggle)
Hash
0x08BD8BA5BDE2C2FA
Introduced
Game build 3407 legacy numbering

Open in the interactive natives reference