HUD Help (Agenda)

So I’m making a HUD, and I tried making an agenda, but
instead of making a new line for a new like agenda line, it
just keeps going on one line.

Here is the Agenda Code:



local function agenda()
    if LocalPlayer():getAgendaTable() then
    //Background (Dark Grey)
    draw.RoundedBox(0, 10, 10, 300, 150,Color(50,50,50,255))
    //Main Body (Blue)
    draw.RoundedBox(0, 14, 14, 292, 25,Color(0,141,223,255))
    //Borders
    draw.RoundedBox(0, 14, 14, 292, 2,Color(105,105,105,255), TEXT_ALIGN_CENTER)
    draw.RoundedBox(0, 14, 38, 292, 2,Color(105,105,105,255), TEXT_ALIGN_CENTER)
    draw.RoundedBox(0, 14, 154, 292, 2,Color(105,105,105,255), TEXT_ALIGN_CENTER)
    draw.RoundedBox(0, 14, 14, 2, 142,Color(105,105,105,255), TEXT_ALIGN_CENTER)
    draw.RoundedBox(0, 304, 14, 2, 142,Color(105,105,105,255), TEXT_ALIGN_CENTER)
    //Text
    draw.SimpleText("Agenda", "AgendaTitle", 159, 16, Color(255,255,255,255), TEXT_ALIGN_CENTER)
    draw.SimpleText( LocalPlayer().DarkRPVars.agenda or "", "AgendaFont", 20, 43, Color(255,255,255,255), TEXT_ALIGN_LEFT)
    end
end


Look at how DarkRP does it in the default HUD https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/hud/cl_hud.lua#L133

I’ve already done that, It did not work though.

This still is not working, I believe this is because
of a complete custom HUD code.

I just need to code.

[editline]17th February 2016[/editline]

Oh I got it. Thanks so much