Jump to content

[HELP] Change the skin of a vehicle upgrade


..:D&G:..

Recommended Posts

I found this:

if (getElementData(veh, "dbid") == 341) then 
            local shader, tec = dxCreateShader ( "texreplace.fx" ) 
            local tex = dxCreateTexture ( "textures/theno_monster.png" ) 
            engineApplyShaderToWorldTexture(shader, "monstera92body256a", veh) 
            dxSetShaderValue(shader, "gTexture", tex) 
        end 

But it seems like I need the id code of the texture :/ engineApplyShaderToWorldTexture(shader, "monstera92body256a", veh)

Where can I find this codes?

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