-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathViewanglecommand.cs
More file actions
35 lines (33 loc) · 1.01 KB
/
Viewanglecommand.cs
File metadata and controls
35 lines (33 loc) · 1.01 KB
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
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rocket.Core;
using Rocket.API.Collections;
using Rocket.Unturned.Events;
using Rocket.Unturned.Player;
using Rocket.Unturned.Chat;
using Rocket.Core.Plugins;
using Rocket.Core.Logging;
using SDG.Unturned;
using UnityEngine;
using Rocket.API;
using System.Reflection;
using SDG.Framework.Utilities;
namespace Random.miscstuff
{
class viewangle : IRocketCommand
{
public AllowedCaller AllowedCaller => AllowedCaller.Player;
public string Name => "viewangle";
public string Help => "Get viewangle while in vehicle";
public string Syntax => "/viewangle";
public List<string> Aliases => new List<string>();
public List<string> Permissions => new List<string> { "viewangle" };
public void Execute(IRocketPlayer caller, string[] args)
{
var player = ((UnturnedPlayer)caller).Player;
miscstuff.Instance.toggleviewangle(player);
}
}
}