_ADD_TEXTURE_LAYER
Creates ped overlay in texture override data and returns it's index. This index are used for further overlay editing. albedoHash: a hash of overlay's albedo texture colorType: a color type(from 0 to 2). 0 is used for overlays with RGB colors usually.
PEDBuild 1207
Signature
lua
AddTextureLayer(0, GetHashKey("..."), GetHashKey("..."), GetHashKey("..."), 0, 0.0, 0)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| int | — | |
| Hash | — | |
| Hash | — | |
| Hash | — | |
| int | — | |
| float | — | |
| int | — |
Usage
lua
AddTextureLayer(0, GetHashKey("..."), GetHashKey("..."), GetHashKey("..."), 0, 0.0, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
