- Initiateur de la discussion
R
Redshark_
Geek
- Messages
- 102
- Score réaction
- 1
- Points
- 50
Bonjour j'aimerai savoir comment metre une variant de facon a ajouter un material a une image avec se code
local mat = Material("armor.png")
hook.Add("HUDPaint","HUD",function()
surface.SetDrawColor(255,255,255,255)
surface.SetMaterial( "materials/M-HuDv4/armor.png" )
surface.DrawTexturedRect(x,y,5,5)
end)
local mat = Material("armor.png")
hook.Add("HUDPaint","HUD",function()
surface.SetDrawColor(255,255,255,255)
surface.SetMaterial( "materials/M-HuDv4/armor.png" )
surface.DrawTexturedRect(x,y,5,5)
end)