-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPosition.cs
More file actions
28 lines (24 loc) · 826 Bytes
/
Position.cs
File metadata and controls
28 lines (24 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HellionExtendedServer.Managers;
using HellionExtendedServer.Managers.Commands;
using ZeroGravity;
using ZeroGravity.Objects;
namespace CyberCore
{
[Permission(PermissionName = "CyberTech.CyberCore.pos")]
[Command(CommandName = "pos", Description = "Message Other Players", Permission = "CyberTech.CyberCore.pos", Plugin = "CyberCore", Usage = "/pos")]
public class PositionCmd : Command
{
public PositionCmd(Server svr) : base(svr)
{
}
public override void runCommand(Player sender, string[] args)
{
GetPluginHelper.SendMessageToClient(sender,"Your current Postion to string "+sender.LocalPosition.ToString());
}
}
}