Jump to content

DELETE!!


Sex*

Recommended Posts

Posted
yea.. use jacked userpanel .. :x

hmm..it was avalible for download.... i havent stole it anywhere... And basicly half of it have been modded already.

Posted
yea.. use jacked userpanel .. :x

hmm..it was avalible for download.... i havent stole it anywhere...idiot. And basicly half of it have been modded already.

So you should to remove the download url .

Posted

Those resources were developed when there was no ability to apply shader effects to specific objects. So they change nitro texture color globally - for every vehicle.

But it might be fairly easy to change that ... amirite ?

Posted

Ok something:

------------------------------------------ 
-- Shaders 
------------------------------------------ 
  
function ShadersUpdate(Who,Shader,Data) 
    savePlayerData(Who,"Shader"..Shader,Data) 
end 
function ClientStarted ( who ) 
    for i=1,2,3 do 
        local data = loadPlayerData(who,"Shader"..i) 
        if i == 1 then callClientFunction(who,"CarShaderToggle",who,data) 
        elseif i == 2 then callClientFunction(who,"WaterShaderToggle",who,data) 
elseif i == 3 then callClientFunction(who,"NitroShaderToggle",who,data) 
  
        end 
    end 
end 
  

Did i do right that part?

And also....is there a way to that mapinfo wouldnt come to chatbox...not even the name?

  • 2 weeks later...
Posted
how many shader's do want put it in that user panel !

3, 2 of them are working...

But the third one i want then i tick the box nitro shader pops up. So there is box there you can change nitrous color with red, green, blue.

Posted

Ok, because nobody helped me with shader then i started to create lights. But i still want help with shader...because idk how to finish it myself...

Why if the numbers are set to idk what..it doesnt matter, only nitro goes to yellow or white

function CarNitroToggle( Who, data ) 
    if Who ~= localPlayer then return end 
    if data == 1 then 
        guiLabelSetColor( shaders[ 3 ], 0, 255, 0 ) 
        guiCheckBoxSetSelected( shaderCheckBox[ 3 ], true ) 
        if not myNitroShader then 
            myNitroShader, tec = dxCreateShader ( "Shaders/Nitro/nitro.fx" ) 
            engineApplyShaderToWorldTexture ( myNitroShader, "smoke" ) 
            dxSetShaderValue( myNitroShader, "gNitroColor", 255, 50, 0) 
        end 
    else 
        guiLabelSetColor( shaders[ 3 ], 255, 0, 0 ) 
        guiCheckBoxSetSelected( shaderCheckBox[ 3 ], false ) 
        if myNitroShader then 
            destroyElement( myNitroShader ) 
            myNitroShader = nil      
        end 
    end 
end 
  

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