mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 20:25:01 +00:00
23 lines
472 B
C#
23 lines
472 B
C#
//Clear VoiceBind Chatmenu at spawn
|
|
|
|
package chatmenuHudClear
|
|
{
|
|
|
|
function ClientCmdDisplayHuds()
|
|
{
|
|
parent::ClientCmdDisplayHuds();
|
|
cancelChatMenu();
|
|
}
|
|
|
|
function clientCmdSetInventoryHudItem(%slot, %amount, %addItem)
|
|
{
|
|
parent::clientCmdSetInventoryHudItem(%slot, %amount, %addItem);
|
|
cancelChatMenu();
|
|
}
|
|
|
|
};
|
|
|
|
|
|
// Prevent package from being activated if it is already
|
|
if (!isActivePackage(chatmenuHudClear))
|
|
activatePackage(chatmenuHudClear); |