Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if DrawAgenda then
- draw.RoundedBox(0, 10, 10, 460, 110, Color(0, 0, 0, 155))
- draw.RoundedBox(0, 12, 12, 456, 106, Color(51, 58, 51,100))
- draw.RoundedBox(0, 12, 12, 456, 20, Color(37,104,134,150))
- draw.DrawText(DrawAgenda.Title, "DarkRPHUD1", 30, 12, Color(255,0,0,255),0)
- local AgendaText = {}
- for k,v in pairs(team.GetPlayers(AgendaManager)) do
- if not v.DarkRPVars then continue end
- table.insert(AgendaText, v:getDarkRPVar("agenda"))
- end
- local text = table.concat(AgendaText, "\n")
- text = text:gsub("//", "\n"):gsub("\\n", "\n")
- text = GAMEMODE:TextWrap(text, "DarkRPHUD1", 440)
- draw.DrawText(text, "DarkRPHUD1", 30, 35, Color(255,255,255,255),0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement