Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Turbo.Plugins.PsychosPlugins
- {
- using Turbo.Plugins.Default;
- public class DebugMySpecialArea : BasePlugin
- {
- public WorldDecoratorCollection DebugDecorator {get; set;}
- public DebugMySpecialArea()
- {
- Enabled = true;
- }
- public override void Load(IController hud)
- {
- base.Load(hud);
- DebugDecorator = new WorldDecoratorCollection(new GroundLabelDecorator(hud)
- {
- TextFont = Hud.Render.CreateFont("tahoma", 20, 250, 250, 0, 0, true, false, false)
- });
- }
- public override void PaintWorld(WorldLayer layer)
- {
- var Offset = -30.0f;
- DebugDecorator.Paint(layer, null, Hud.Game.Me.FloorCoordinate.Offset(0,0,Offset), Hud.Game.SpecialArea.ToString());
- }
- }
- }
Add Comment
Please, Sign In to add comment