The Lab
PED native

_SET_TEXTURE_LAYER_ALPHA

returns void3 paramsbuild 1207

Sets the opacity of the layer layerId in the custom ped texture textureId.

Signature

C
void _SET_TEXTURE_LAYER_ALPHA(int textureId, int layerId, float texAlpha); // 0x6C76BC24F8BB709A b1207

Parameters

#NameType
1textureIdint
2layerIdint
3texAlphafloat

Facts

Facts about _SET_TEXTURE_LAYER_ALPHA
Name
_SET_TEXTURE_LAYER_ALPHA
Hash
0x6C76BC24F8BB709A
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(0x6C76BC24F8BB709A, -- _SET_TEXTURE_LAYER_ALPHA
  0, -- int textureId
  0, -- int layerId
  0.0 -- float texAlpha
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x6C76BC24F8BB709A", // _SET_TEXTURE_LAYER_ALPHA
  0, // int textureId
  0, // int layerId
  0.0 // float texAlpha
);
C#
Function.Call((Hash)0x6C76BC24F8BB709A, // _SET_TEXTURE_LAYER_ALPHA
  0, // int textureId
  0, // int layerId
  0.0f // float texAlpha
);
All PED natives

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