_REQUEST_TEXTURE
Creates a texture override data for ped and returns it's index. So you can replace any texture of any ped's component. Also, you can add overlays on it, such as aging, lipstick and more. Textures can be reused by multiple peds at once. You can keep only 32 textures at once(including other peds). https://github.com/femga/rdr3_discoveries/blob/master/clothes/change_overlays_script.lua materialHash: https://github.com/femga/rdr3_discoveries/blob/master/clothes/cloth_drawable_albedo_normal_material_TEMPORARY.lua
PEDBuild 1207
Signature
lua
RequestTexture(GetHashKey("..."), GetHashKey("..."), GetHashKey("..."))
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Hash | — | |
| Hash | — | |
| Hash | — |
Usage
lua
RequestTexture(GetHashKey("..."), GetHashKey("..."), GetHashKey("..."))Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
