The Lab
ENTITY native

SET_ENTITY_ALPHA

returns void3 paramsbuild 1207

Sets the alpha (transparency) level of the entity, from 0 to 255.

Signature

C
void SET_ENTITY_ALPHA(Entity entity, int alphaLevel, BOOL skin); // 0x0DF7692B1D9E7BA7 b1207

Parameters

#NameType
1entityEntity
2alphaLevelint
3skinBOOL

Facts

Facts about SET_ENTITY_ALPHA
Name
SET_ENTITY_ALPHA
Hash
0x0DF7692B1D9E7BA7
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x0DF7692B1D9E7BA7, -- SET_ENTITY_ALPHA
  PlayerPedId(), -- Entity entity
  0, -- int alphaLevel
  false -- BOOL skin
)
JavaScript
Citizen.invokeNative("0x0DF7692B1D9E7BA7", // SET_ENTITY_ALPHA
  PlayerPedId(), // Entity entity
  0, // int alphaLevel
  false // BOOL skin
);
C#
Function.Call((Hash)0x0DF7692B1D9E7BA7, // SET_ENTITY_ALPHA
  API.PlayerPedId(), // Entity entity
  0, // int alphaLevel
  false // BOOL skin
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.