Sex* Posted December 20, 2012 Posted December 20, 2012 (edited) Delete. Edited January 7, 2013 by Guest
Sex* Posted December 20, 2012 Author Posted December 20, 2012 yea.. use jacked userpanel .. hmm..it was avalible for download.... i havent stole it anywhere... And basicly half of it have been modded already.
iPrestege Posted December 20, 2012 Posted December 20, 2012 yea.. use jacked userpanel .. 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 .
HunT Posted December 21, 2012 Posted December 21, 2012 If u want u can use my old Shader Nitro Panel : https://community.multitheftauto.com/ind ... ls&id=3972
Ren_712 Posted December 21, 2012 Posted December 21, 2012 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 ?
Sex* Posted December 21, 2012 Author Posted December 21, 2012 If u want u can use my old Shader Nitro Panel : https://community.multitheftauto.com/ind ... ls&id=3972 And how this would help to put that into userpanel?
Sex* Posted December 21, 2012 Author Posted December 21, 2012 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?
Blaawee Posted January 1, 2013 Posted January 1, 2013 how many shader's do want put it in that user panel !
Sex* Posted January 1, 2013 Author Posted January 1, 2013 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.
Sex* Posted January 5, 2013 Author Posted January 5, 2013 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
Sex* Posted January 5, 2013 Author Posted January 5, 2013 Close the topic. I got a new userpanel. The topic is dead anyway:D
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