How to make a logo?
Last read Never
I have a picture of my logotype.
And I want to make it on the server in the upper right corner.
How can this be done?
--place this in path
-- lua/autorun/client/wahteveryouwant.lua
local logo = Material("materials/logo.png")
local function drawlogo()
surface.SetDrawColor(255, 255, 255, 255)
surface.SetMaterial(logo)
surface.DrawTexturedRect(0, 0, 128, 128)
end
hook.Add("HUDPaint", "logo", drawlogo)
--and this in lua/autorun/server
resource.AddFile("materials/logo.png")
Thanks!
Users viewing this thread
Nobody