Jump to content

Cheetah dxDrawTexture Help


XeRo

Recommended Posts

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 
) 

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