GET_ENTITY_ALPHA
Hash
0x1BB501624FAF2BEARuntime name
GetEntityAlphaNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5A47B3B5E63E94C6Signature
int GET_ENTITY_ALPHA(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns int
Usage
local retval = GetEntityAlpha(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1BB501624FAF2BEA, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetEntityAlpha(entity);
// by hash
const retval = Citizen.invokeNative('0x1BB501624FAF2BEA', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x1BB501624FAF2BEA, entity);See also
SET_ENTITY_ALPHAskin - everything alpha except skin Set entity alpha level.RESET_ENTITY_ALPHA
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.