Dice Posted April 11, 2013 Posted April 11, 2013 is it possible to replace a CJ blue bandana with a white one???? I got the white bandana txd
xXMADEXx Posted April 11, 2013 Posted April 11, 2013 wouldn't it just be an object ID replace? If it is (i'm not really sure) you can just go into editor, and try to find the ID. The Ultimate Lua Tutorial! | MTA PHP SDK
DiSaMe Posted April 11, 2013 Posted April 11, 2013 Export the texture in format which MTA DX functions can use (such as PNG) and then make a shader which applies the image to bandana texture on player models. -
xXMADEXx Posted April 12, 2013 Posted April 12, 2013 What do you mean ??? Basicly, he means, you need to make a shader in order to replace the bandana. The Ultimate Lua Tutorial! | MTA PHP SDK
Dice Posted April 12, 2013 Author Posted April 12, 2013 what will pngs do?? i cant create a shader unless its in a .fx format??
codeluaeveryday Posted April 12, 2013 Posted April 12, 2013 last time I checked CJ Clothing cannot be replaced using shaders. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
denny199 Posted April 12, 2013 Posted April 12, 2013 last time I checked CJ Clothing cannot be replaced using shaders. FROM VERSION 1.3.0 r4140 ONWARDStargetElement: The element to restrict applying the shader to. If this is not set the shader will be applied to everything using the texture name. Valid element types for targetElement are vehicles and objects. FROM VERSION 1.3.1 r4939 ONWARDStargetElement can be a ped. Anoter note: Note: When replacing the texture for a ped using the CJ skin, set textureName to "CJ" Sometimes I dream about cheese
codeluaeveryday Posted April 14, 2013 Posted April 14, 2013 Denny doesn't quite understand, it said nothing about changing ped clothing, you can change the ped, well no shit Sherlock. I'm certain that ped clothing cannot be replaced. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
xXMADEXx Posted April 14, 2013 Posted April 14, 2013 ok i still dont know how to do it. You have to make a shader. And, shaders arn't very easy to make at first. The Ultimate Lua Tutorial! | MTA PHP SDK
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