Animan99 Posted October 29, 2015 Posted October 29, 2015 Hi i made my first tuneshop, working fine, now i want to apply a custom paintjob to a modded car, but it's not working. engineApplyShaderToWorldTexture( shader, "remapelegybody128") I tried this way, but not working, also tried almost everything. Can anyone help me? (I don't know what should i write on the second argument)
Animan99 Posted October 29, 2015 Author Posted October 29, 2015 addEventHandler('onClientResourceStart', resourceRoot, function() shader = dxCreateShader('shader.fx') terrain = dxCreateTexture('img/PJ_Elegy2.png') dxSetShaderValue(shader, 'gTexture', terrain) engineApplyShaderToWorldTexture(shader, 'remapelegybody128') end ) I didnt post the full code becouse i have googled much and figured out that the problem is in the engineApply function, 2nd agrument. When i tried without car mods, it worked perfectly!
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