Jump to content

[HELP] Crosshair


Recommended Posts

Error

1-292. line ====== Bad argument @ 'engineApplyShaderToWorldTexture' [Expected material at argument 1 ,got nill]
2-293.line ======Bad argument @ 'dxSetShaderValue' [Expected material at argumenr 1.gotnill]

function Nisangah3Aktif()
engineApplyShaderToWorldTexture(shader, "siteM16") --292
dxSetShaderValue(shader, "gTexture", dxCreateTexture("dosyalar/resim/nisangah3.png"))--293
_outputChatBox ( "#00ff00Nişangah Değiştirildi", 255, 0, 0, true ) 
local file = xmlLoadFile("ayarlar.xml")
    if file then
        local ayar7child = xmlFindChild ( file, "nisangah", 0 )
        xmlNodeSetValue (ayar7child, "3")
    end 
xmlSaveFile(file)
end

What should ı do ?

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