fixed up down lt rt commands
This commit is contained in:
@@ -713,6 +713,7 @@ namespace reallife_gamemode.Server.Commands
|
||||
[Command("dn", "~m~Benutzung: ~s~/dn [Wert]")]
|
||||
public void CmdAdminDn(Client player, int value = 5)
|
||||
{
|
||||
|
||||
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
|
||||
{
|
||||
ChatService.NotAuthorized(player);
|
||||
@@ -760,6 +761,11 @@ namespace reallife_gamemode.Server.Commands
|
||||
[Command("lt", "~m~Benutzung: ~s~/lt [Wert]")]
|
||||
public void CmdAdminLt(Client player, int value = 5)
|
||||
{
|
||||
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
|
||||
{
|
||||
ChatService.NotAuthorized(player);
|
||||
return;
|
||||
}
|
||||
|
||||
float playerHeading = player.Heading;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user