getEntityAlpha
GET_ENTITY_ALPHA0x5A47B3B5E63E94C6The GTA V native GET_ENTITY_ALPHA of the ENTITY namespace, as LS:MP client scripts call it: the global function getEntityAlpha, in JavaScript and in Lua.
getEntityAlpha(entity: Entity): numbergetEntityAlpha(entity: Entity): integerUsage
JavaScript
const result = getEntityAlpha(entity);Lua
local result = getEntityAlpha(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Entity ENTITY
- In the game
int GET_ENTITY_ALPHA(Entity entity)- Hash
0x5A47B3B5E63E94C6