Donetsk/hook_lib/party.cpp

13 lines
373 B
C++
Raw Normal View History

2023-10-24 10:16:45 -04:00
#include "party.h"
#include "game_inc.h"
void PartyHost_StartPrivateParty_Detour(int localClientNum, int localControllerIndex, bool currentlyActive, int hostType)
{
Cbuf_AddText("exec autoexec.cfg");
partyhost_startprivateparty.stub<void>(localClientNum, localControllerIndex, currentlyActive, hostType);
LoadInventory();
Cbuf_AddText("set cl_textChatEnabled 1");
2023-10-24 10:16:45 -04:00
}