setGhostAlpha
SET_GHOST_ALPHA0x658500AE6D723A7EThe GTA V native SET_GHOST_ALPHA of the NETWORK namespace, as LS:MP client scripts call it: the global function setGhostAlpha, in JavaScript and in Lua.
setGhostAlpha(alpha: number): voidsetGhostAlpha(alpha: integer)Usage
JavaScript
setGhostAlpha(alpha);Lua
setGhostAlpha(alpha)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
alpha | int | number | integer |
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.
Must be a value between 1 and 254
Reference
- Namespace
- Network NETWORK
- In the game
void SET_GHOST_ALPHA(int alpha)- Hash
0x658500AE6D723A7E- Introduced
- Game build 791 legacy numbering
- Formerly
_SET_GHOSTED_ENTITY_ALPHA