Pivity

How to make a logo?

Last read Never
#1

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?

#2

--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")

Friendly x 2
Users viewing this thread
Nobody