XeRo Posted August 13, 2015 Posted August 13, 2015 Hi Guys. My Edit Script I have selected my I want it to be visible on the others for Original Script. : https://community.multitheftauto.com/index.php?p= ... s&id=11907 shader = dxCreateShader('shader.fx') myShader = dxCreateTexture('chr.png') dxSetShaderValue(shader, 'gTexture', Python) addEventHandler("onClientGUIClick",getRootElement, function() if source == GUIEditor.button[1] then dxSetShaderValue(shader, 'gTexture', myShader) engineApplyShaderToWorldTexture(shader, 'vehiclegrunge256') end end )
Ren_712 Posted August 13, 2015 Posted August 13, 2015 https://wiki.multitheftauto.com/wiki/TriggerEvent https://wiki.multitheftauto.com/wiki/Cl ... de_scripts It's tough at first, but you'll get used to that.
Ren_712 Posted August 13, 2015 Posted August 13, 2015 This resource does something similar - changes textures per vehicle entity. It uses elementData - i guess it is fine too. You'll see download link in description.
XeRo Posted August 13, 2015 Author Posted August 13, 2015 Please give Code I'm The Noob Scripter Sorry
Ren_712 Posted August 14, 2015 Posted August 14, 2015 I said. The download link is in description. http://www.mediafire.com/?dzz89axbxcz4o9a People might help you out - but not doing all the stuff for you. What you learn will be yours to keep.
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