fixes in more more advanced features in report system
This commit is contained in:
@@ -41,8 +41,8 @@ namespace ReallifeGamemode.Server.Report
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
User user = client.GetUser();
|
User user = client.GetUser();
|
||||||
List<String> listPlayers = new List<string>();
|
List<string> listPlayers = new List<string>();
|
||||||
List<String> listTicketnames = new List<string>();
|
List<string> listTicketnames = new List<string>();
|
||||||
|
|
||||||
for (int a=0; a< listReports.Count; a++)
|
for (int a=0; a< listReports.Count; a++)
|
||||||
{
|
{
|
||||||
@@ -163,7 +163,7 @@ namespace ReallifeGamemode.Server.Report
|
|||||||
}
|
}
|
||||||
|
|
||||||
[RemoteEvent("requestReport")]
|
[RemoteEvent("requestReport")]
|
||||||
public void RequestReport(Client user, string type, string data)
|
public void RequestReport(Client user, string data, string type)
|
||||||
{
|
{
|
||||||
if (type == "Ticket Report")
|
if (type == "Ticket Report")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user