fix support?
This commit is contained in:
@@ -91,7 +91,7 @@ export default function reportList(globalData: IGlobalData) {
|
|||||||
|
|
||||||
var types = ["Ticket", "Quick-Report"];
|
var types = ["Ticket", "Quick-Report"];
|
||||||
|
|
||||||
reportMenu = new Menu("Ticket/Quick-Report", "", new Point(0, screenRes.y / 3), null, null);
|
reportMenu = new Menu("Support", "", new Point(0, screenRes.y / 3), null, null);
|
||||||
var typesItem = new UIMenuListItem("Typ", "", new ItemsCollection(types));
|
var typesItem = new UIMenuListItem("Typ", "", new ItemsCollection(types));
|
||||||
reportMenu.AddItem(typesItem);
|
reportMenu.AddItem(typesItem);
|
||||||
|
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ namespace ReallifeGamemode.Server.Report
|
|||||||
public void RequestReport(Player user, string type, string data)
|
public void RequestReport(Player user, string type, string data)
|
||||||
{
|
{
|
||||||
string text = JsonConvert.DeserializeObject<string>(data);
|
string text = JsonConvert.DeserializeObject<string>(data);
|
||||||
if (type == "Ticket Report")
|
if (type == "Ticket")
|
||||||
{
|
{
|
||||||
ReportManage temp = null;
|
ReportManage temp = null;
|
||||||
for (int a = 0; a < listReports.Count; a++)
|
for (int a = 0; a < listReports.Count; a++)
|
||||||
@@ -213,7 +213,7 @@ namespace ReallifeGamemode.Server.Report
|
|||||||
listReports.Add(ticket);
|
listReports.Add(ticket);
|
||||||
//ChatService.SendMessage(user, "!{#addc8d}In Bearbeitung");
|
//ChatService.SendMessage(user, "!{#addc8d}In Bearbeitung");
|
||||||
}
|
}
|
||||||
if (type == "Quick Report")
|
if (type == "Quick-Report")
|
||||||
{
|
{
|
||||||
ChatService.BroadcastAdmin("!{#008fff}[QR]~w~ " + user.Name + " (" + user.Handle.Value + ")~w~: " + text, AdminLevel.SUPPORTER);
|
ChatService.BroadcastAdmin("!{#008fff}[QR]~w~ " + user.Name + " (" + user.Handle.Value + ")~w~: " + text, AdminLevel.SUPPORTER);
|
||||||
user.SendChatMessage("~w~Dein Quick Report wurde an das Adminteam weitergeleitet");
|
user.SendChatMessage("~w~Dein Quick Report wurde an das Adminteam weitergeleitet");
|
||||||
|
|||||||
Reference in New Issue
Block a user