psychopyro212

Untitled

Feb 10th, 2017
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 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. }
  15. public override void Customize()
  16. {
  17. Hud.RunOnPlugin<ShrinePlugin>(plugin =>
  18. {
  19. plugin.AllShrineDecorator.Add(new MapLabelDecorator(Hud)
  20. {
  21. LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 255, 255, 55, false, false, 128, 0, 0, 0, true),
  22. RadiusOffset = 5.0f,
  23. });
  24. });
  25. }
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment