_SET_TEXTURE_LAYER_PALLETE
Sets the color palette paletteHash of the layer layerId in textureId. The misspelling is part of the name.
Signature
void _SET_TEXTURE_LAYER_PALLETE(int textureId, int layerId, Hash paletteHash); // 0x1ED8588524AC9BE1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | textureId | int |
| 2 | layerId | int |
| 3 | paletteHash | Hash |
Facts
| Name | _SET_TEXTURE_LAYER_PALLETE |
|---|---|
| Hash | 0x1ED8588524AC9BE1 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x1ED8588524AC9BE1, -- _SET_TEXTURE_LAYER_PALLETE
0, -- int textureId
0, -- int layerId
GetHashKey("name") -- Hash paletteHash
)Citizen.invokeNative("0x1ED8588524AC9BE1", // _SET_TEXTURE_LAYER_PALLETE
0, // int textureId
0, // int layerId
GetHashKey("name") // Hash paletteHash
);Function.Call((Hash)0x1ED8588524AC9BE1, // _SET_TEXTURE_LAYER_PALLETE
0, // int textureId
0, // int layerId
(uint)API.GetHashKey("name") // Hash paletteHash
);Related PED natives
- _SET_TEXTURE_LAYER_TEXTURE_MAP
- _SET_TEXTURE_LAYER_ALPHA
- _SET_TEXTURE_LAYER_MOD
- _SET_TEXTURE_LAYER_ROUGHNESS
- _SET_TEXTURE_LAYER_SHEET_GRID_INDEX
- _SET_TEXTURE_LAYER_TINT
- _SET_TEXTURE_OUTFIT_TINTS
- _ADD_TEXTURE_LAYER
- _SET_TANK_ATTRIBUTE_SIZE
- _SET_TOTAL_PED_DAMAGE_FALLOFF_BONUS
- _SET_TOTAL_PED_DAMAGE_FROM_AI
- _SET_ACCURACY_AGAINST_LOCAL_PLAYER_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.