Jump to content

[HELP] Custom paintjobs with custom car mods


Animan99

Recommended Posts

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)

Link to comment
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!

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...