Ports the player ticket panel from skyrat (#66954)

* Ports the player ticket panel from skyrat
Adds a player side panel to view active admin tickets, this will make it
easier for players to find previous admin messages, remember what they
said previously etc. This is especially good for the cases that TGchat
drops messages
This commit is contained in:
Seth Scherer
2022-05-20 15:15:32 -04:00
committed by GitHub
parent b7990e57c9
commit 2baeb1b635
3 changed files with 103 additions and 33 deletions
+3
View File
@@ -100,6 +100,9 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if(href_list["priv_msg"])
cmd_admin_pm(href_list["priv_msg"],null)
return
if (href_list["player_ticket_panel"])
view_latest_ticket()
return
// TGUIless adminhelp
if(href_list["tguiless_adminhelp"])
no_tgui_adminhelp(input(src, "Enter your ahelp", "Ahelp") as null|message)