Miese Corona Zeiten push für Lenhardt

This commit is contained in:
Siga
2020-05-10 19:19:53 +02:00
parent 15e4cec8ee
commit efbff34c21
159 changed files with 8042 additions and 8695 deletions

View File

@@ -1,22 +1,17 @@
using GTANetworkAPI;
using System;
using System.Collections.Generic;
using GTANetworkAPI;
using Newtonsoft.Json;
using ReallifeGamemode.Database.Entities;
using ReallifeGamemode.Server.Extensions;
using ReallifeGamemode.Server.Finance;
using ReallifeGamemode.Database.Models;
using ReallifeGamemode.Server.Services;
using ReallifeGamemode.Server.Util;
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using ReallifeGamemode.Database;
using ReallifeGamemode.Services;
using ReallifeGamemode.Server.Types;
using ReallifeGamemode.Server.Util;
using ReallifeGamemode.Services;
namespace ReallifeGamemode.Server.Report
{
class Report : Script
internal class Report : Script
{
public static List<ReportManage> listReports = new List<ReportManage>();
@@ -27,7 +22,6 @@ namespace ReallifeGamemode.Server.Report
client.TriggerEvent("showReportType");
//ChatService.BroadcastAdmin("Eingehendes Ticket von " + client.Name + ": " + message + " (Benutze /showtickets)", AdminLevel.ADMIN);
}
[Command("showtickets", "~m~Benutzung: ~s~/showtickets")]
@@ -64,10 +58,8 @@ namespace ReallifeGamemode.Server.Report
return;
}
client.TriggerEvent("showReportMenu", JsonConvert.SerializeObject(listPlayers), JsonConvert.SerializeObject(listTicketnames));
}
[RemoteEvent("acceptReport")]
public void AcceptReport(Player admin, string playerName)
{
@@ -75,7 +67,6 @@ namespace ReallifeGamemode.Server.Report
if (player == null)
return;
for (int a = 0; a < listReports.Count; a++)
{
ReportManage temp = listReports[a];
@@ -155,7 +146,6 @@ namespace ReallifeGamemode.Server.Report
{
userIsAdmin = true;
}
}
//Für User
if ((!client.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true) || userIsAdmin)
@@ -232,7 +222,6 @@ namespace ReallifeGamemode.Server.Report
break;
}
}
}
}
}