Jump to content

How replace texture head CJ


Essle

Recommended Posts

Hello. Sorry for my bad english.

How replace texture head CJ?

 

For example:

da775a7787cf889f6d264640ae1f8b26.png

This code not working

local shader = DxShader("files/shaders/texture.fx")
shader:setValue("gTexture", DxTexture("files/texture/baldbeard.png"))
shader:applyToWorldTexture("baldbeard")

 

Edited by Essle
Link to comment
14 minutes ago, HunT said:

Read This : https://wiki.multitheftauto.com/wiki/EngineApplyShaderToWorldTexture

 

 


When replacing the texture for a ped using the CJ skin, set textureName to "CJ" 

And don't forget that :

CJ body parts textures can be replaced by using: "cj_ped_head", "cj_ped_hat", "cj_ped_torso", "cj_ped_legs", "cj_ped_feet", "cj_ped_glasses", "cj_ped_necklace", "cj_ped_watch" and "cj_ped_extra1". Latest version of shader_tex_names will show what is being used.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...