]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a quickmenu command that allows to pick a player name from the connected players...
authorterencehill <piuntn@gmail.com>
Tue, 11 Dec 2018 18:10:56 +0000 (19:10 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 11 Dec 2018 18:10:56 +0000 (19:10 +0100)
qcsrc/client/hud/panel/quickmenu.qc

index d63b1fae21206ec00b25aeb5d038901d4d6883b4..0b9c102f7908d830c1a137b9bdb059cee64ce521 100644 (file)
@@ -779,6 +779,7 @@ void QuickMenu_Default(string target_submenu)
        string tc_cmd;
 
        QUICKMENU_SMENU(_("Chat"), "Chat")
+               QUICKMENU_SMENU_PL(CTX(_("QMCMD^Send public message to")), "Send public message to", "commandmode say %s:^7", 0, 1)
                QUICKMENU_ENTRY_TC(CTX(_("QMCMD^nice one")), "say %s", ":-) / nice one", CTX(_("QMCMD^:-) / nice one")))
                QUICKMENU_ENTRY_TC(CTX(_("QMCMD^good game")), "say %s", "good game", CTX(_("QMCMD^good game")))
                QUICKMENU_ENTRY_TC(CTX(_("QMCMD^hi / good luck")), "say %s", "hi / good luck and have fun", CTX(_("QMCMD^hi / good luck and have fun")))