xMoDy Posted December 3, 2020 Posted December 3, 2020 I only have a question if I can change the player is Aim and thx
Discord Moderators Tut Posted December 3, 2020 Discord Moderators Posted December 3, 2020 Thread moved to the Scripting section. The Scripting Tutorials section is only for tutorials aimed to give guidance on a subject.
Erlkonig Posted December 3, 2020 Posted December 3, 2020 What do you want exactly? To change the texture of aim?
xMoDy Posted December 3, 2020 Author Posted December 3, 2020 8 hours ago, Erlkonig said: What do you want exactly? To change the texture of aim? yes
Erlkonig Posted December 3, 2020 Posted December 3, 2020 texreplace.fx texture gTexture; technique simple { pass P0 { Texture[0] = gTexture; } } client side function() crosshair = dxCreateShader("texreplace.fx") engineApplyShaderToWorldTexture(crosshair, "siteM16") dxSetShaderValue(crosshair, "gTexture", dxCreateTexture('crosshair.png')) end
xMoDy Posted December 3, 2020 Author Posted December 3, 2020 1 hour ago, Erlkonig said: texreplace.fx texture gTexture; technique simple { pass P0 { Texture[0] = gTexture; } } client side function() crosshair = dxCreateShader("texreplace.fx") engineApplyShaderToWorldTexture(crosshair, "siteM16") dxSetShaderValue(crosshair, "gTexture", dxCreateTexture('crosshair.png')) end thx
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