• Need help with agenda hud coding
    4 replies, posted
So im trying to add an agenda hud and the box is not showing up? local function Agenda() local agenda = LocalPlayer():getAgendaTable() if not agenda then return end draw.RoundedBox( 6, 108, ScrH() - 430, health * 2.1, 20, Color( 100,0,0,255 ) ) draw.DrawNonParsedText("POLICE AGENDA", "Agenda", 100, 100, Color(255, 255, 255, 255), 0) local text = LocalPlayer():getDarkRPVar("agenda") or "" text = text:gsub("//", "\n"):gsub("\\n", "\n") text = DarkRP.textWrap(text, "Agenda", 100) draw.DrawNonParsedText(text, "Agenda", 200, 250, Color(255, 255, 255, 255), 0) end
Do you call this function anywhere?
no?
hook.Add( "HUDPaint", "HUDPaint_DrawABox", function() -- Stuff end )
then i add my rect box below it?
Sorry, you need to Log In to post a reply to this thread.