psychopyro212

Untitled

Feb 10th, 2017
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. namespace Turbo.Plugins.PsychosPlugins
  2. {
  3. using Turbo.Plugins.Default;
  4.  
  5. public class ShrineLabelsPlugin : BasePlugin
  6. {
  7.  
  8. public ShrineLabelsPlugin() {
  9. Enabled = true;
  10. }
  11.  
  12. public override void Load(IController hud)
  13. {
  14. base.Load(hud);
  15. }
  16. public override void Customize()
  17. {
  18. Hud.RunOnPlugin<ShrinePlugin>(plugin =>
  19. {
  20. plugin.AllShrineDecorator.Add(new MapLabelDecorator(Hud)
  21. {
  22. LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 255, 255, 55, false, false, 128, 0, 0, 0, true),
  23. RadiusOffset = 5.0f,
  24. });
  25. });
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment