[Help] Hud

Recommended Posts

Please help me
If i past image colored will be change all colors to black i need to still colored not black

local texturesimg = {

addEventHandler("onClientResourceStart", resourceRoot, function()
  for i = 1, #texturesimg do
    local shader = dxCreateShader("shader/shader.fx")
    engineApplyShaderToWorldTexture(shader, texturesimg[i][2])
    dxSetShaderValue(shader, "gTexture", dxCreateTexture(texturesimg[i][1]))


texture gTexture;

technique TexReplace
    pass P0
        Texture[0] = gTexture;


Edited by Hani2001

Share this post

Link to post

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.