_SET_TEXTURE_LAYER_TEXTURE_MAP
Hash
0x253A63B5BADBC398Runtime name
SetTextureLayerTextureMapNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_TEXTURE_LAYER_TEXTURE_MAP(int textureId, int layerId, Hash albedoHash, Hash normalHash, Hash materialHash);Parameters
| Name | Type | Description |
|---|---|---|
textureId | int | — |
layerId | int | — |
albedoHash | Hash | — |
normalHash | Hash | — |
materialHash | Hash | — |
Returns void
Usage
SetTextureLayerTextureMap(textureId, layerId, albedoHash, normalHash, materialHash)
-- always works, by hash
Citizen.InvokeNative(0x253A63B5BADBC398, textureId, layerId, albedoHash, normalHash, materialHash)JavaScript and C#
SetTextureLayerTextureMap(textureId, layerId, albedoHash, normalHash, materialHash);
// by hash
Citizen.invokeNative('0x253A63B5BADBC398', textureId, layerId, albedoHash, normalHash, materialHash);Function.Call((Hash)0x253A63B5BADBC398, textureId, layerId, albedoHash, normalHash, materialHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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.