Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. if DrawAgenda then
  2. draw.RoundedBox(0, 10, 10, 460, 110, Color(0, 0, 0, 155))
  3. draw.RoundedBox(0, 12, 12, 456, 106, Color(51, 58, 51,100))
  4. draw.RoundedBox(0, 12, 12, 456, 20, Color(37,104,134,150))
  5.  
  6. draw.DrawText(DrawAgenda.Title, "DarkRPHUD1", 30, 12, Color(255,0,0,255),0)
  7.  
  8. local AgendaText = {}
  9. for k,v in pairs(team.GetPlayers(AgendaManager)) do
  10. if not v.DarkRPVars then continue end
  11. table.insert(AgendaText, v:getDarkRPVar("agenda"))
  12. end
  13.  
  14. local text = table.concat(AgendaText, "\n")
  15. text = text:gsub("//", "\n"):gsub("\\n", "\n")
  16. text = GAMEMODE:TextWrap(text, "DarkRPHUD1", 440)
  17. draw.DrawText(text, "DarkRPHUD1", 30, 35, Color(255,255,255,255),0)
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement