_SET_TEXTURE_LAYER_TINT
Hash
0x2DF59FFE6FFD6044Runtime name
SetTextureLayerTintNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_TEXTURE_LAYER_TINT(int textureId, int layerId, int tint0, int tint1, int tint2);Parameters
| Name | Type | Description |
|---|---|---|
textureId | int | — |
layerId | int | — |
tint0 | int | — |
tint1 | int | — |
tint2 | int | — |
Returns void
Description
Seem color is not RGB or HSV
Usage
SetTextureLayerTint(textureId, layerId, tint0, tint1, tint2)
-- always works, by hash
Citizen.InvokeNative(0x2DF59FFE6FFD6044, textureId, layerId, tint0, tint1, tint2)JavaScript and C#
SetTextureLayerTint(textureId, layerId, tint0, tint1, tint2);
// by hash
Citizen.invokeNative('0x2DF59FFE6FFD6044', textureId, layerId, tint0, tint1, tint2);Function.Call((Hash)0x2DF59FFE6FFD6044, textureId, layerId, tint0, tint1, tint2);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.