more fixes in report system
This commit is contained in:
@@ -108,15 +108,15 @@ namespace ReallifeGamemode.Server.Report
|
|||||||
|
|
||||||
if (text.Equals("quit"))
|
if (text.Equals("quit"))
|
||||||
{
|
{
|
||||||
ChatService.SendMessage(user, "~y~(REPORT) Chat vom Admin beendet");
|
ChatService.SendMessage(user, "~y~[REPORT] Chat vom Admin beendet");
|
||||||
ChatService.SendMessage(client, "~y~(REPORT) Chat beendet");
|
ChatService.SendMessage(client, "~y~[REPORT] Chat beendet");
|
||||||
|
|
||||||
listReports.Remove(temp);
|
listReports.Remove(temp);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
ChatService.SendMessage(client, "~y~(REPORT) " + client.Name + ": " + text);
|
ChatService.SendMessage(client, "~y~[REPORT] " + client.Name + ": " + text);
|
||||||
ChatService.SendMessage(user, "~y~(REPORT) " + username + ": " + text);
|
ChatService.SendMessage(user, "~y~[REPORT] " + client.Name + ": " + text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Für User
|
//Für User
|
||||||
@@ -138,8 +138,8 @@ namespace ReallifeGamemode.Server.Report
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Client admin = ClientService.GetClientByNameOrId(adminname);
|
Client admin = ClientService.GetClientByNameOrId(adminname);
|
||||||
ChatService.SendMessage(admin, "~y~" + username + " (REPORT): " + text);
|
ChatService.SendMessage(admin, "~y~[REPORT] " + client.Name + ": " + text);
|
||||||
ChatService.SendMessage(client, "~y~" + username + " (REPORT): " + text);
|
ChatService.SendMessage(client, "~y~[REPORT] " + client.Name + ": " + text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user