Discord
Steam
/
Developers
/
[ERROR] lua/ms..
Login/Join
Event Log
[ERROR] lua/msg_duty.lua:1: attempt to index global 'surface' (a nil value) 1.
5 replies, posted
Search
In This Thread
IDK why but it keeps giving me that Error message. Any fixes? surface.CreateFont( "Font1", { font = "CoolVetica", extended = false, size = 100, weight = 500, blursize = 0, scanlines = 0, antialias = true, underline = true, italic = true, strikeout = false, symbol = false, rotary = false, shadow = false, additive = false, outline = false, } ) hook.Add("HUDPaint" , "DrawMyHud" , function() draw.SimpleText("You're On Duty!", "Font1",0,0,Color(255, 120, 120),0,0 ) end)
Run your code on the client only.
I did, dosent work
Alright, I'll try that
Sorry, you need to
Log In
to post a reply to this thread.