Essle Posted September 23, 2016 Share Posted September 23, 2016 (edited) Hello. Sorry for my bad english. How replace texture head CJ? For example: This code not working local shader = DxShader("files/shaders/texture.fx") shader:setValue("gTexture", DxTexture("files/texture/baldbeard.png")) shader:applyToWorldTexture("baldbeard") Edited September 23, 2016 by Essle Link to comment
HunT Posted September 23, 2016 Share Posted September 23, 2016 Read This : https://wiki.multitheftauto.com/wiki/EngineApplyShaderToWorldTexture When replacing the texture for a ped using the CJ skin, set textureName to "CJ" 1 Link to comment
</Mr.Tn6eL> Posted September 23, 2016 Share Posted September 23, 2016 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
Essle Posted September 23, 2016 Author Share Posted September 23, 2016 Thank you very much, I did not pay attention Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now