NetworkClient

resetGhostAlpha

RESET_GHOST_ALPHA0x17330EBF2F2124A8

The GTA V native RESET_GHOST_ALPHA of the NETWORK namespace, as LS:MP client scripts call it: the global function resetGhostAlpha, in JavaScript and in Lua.

SignatureJavaScript
resetGhostAlpha(): void
SignatureLua
resetGhostAlpha()

Usage

JavaScript
resetGhostAlpha();
Lua
resetGhostAlpha()

Parameters

None.

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.

Resets the entity ghost alpha to the default value (128)

Reference

Namespace
Network NETWORK
In the game
void RESET_GHOST_ALPHA()
Hash
0x17330EBF2F2124A8
Introduced
Game build 791 legacy numbering
Formerly
_RESET_GHOSTED_ENTITY_ALPHA

Open in the interactive natives reference