Skip to content

Commit

Permalink
idk chat
Browse files Browse the repository at this point in the history
  • Loading branch information
jvnipers committed May 18, 2024
1 parent 4d07345 commit 6462079
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Empty file removed cock
Empty file.
11 changes: 0 additions & 11 deletions src/cs2fixes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ bool CS2Fixes::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool

Message( "Starting plugin.\n" );

SH_ADD_HOOK(ICvar, DispatchConCommand, g_pCVar, SH_MEMBER(this, &CS2Fixes::Hook_DispatchConCommand), false);

META_CONPRINTF( "All hooks started!\n" );

UnlockConVars();
UnlockConCommands();
ConVar_Register(FCVAR_RELEASE | FCVAR_CLIENT_CAN_EXECUTE | FCVAR_GAMEDLL);
Expand All @@ -86,18 +82,11 @@ bool CS2Fixes::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool

bool CS2Fixes::Unload(char *error, size_t maxlen)
{
SH_REMOVE_HOOK(ICvar, DispatchConCommand, g_pCVar, SH_MEMBER(this, &CS2Fixes::Hook_DispatchConCommand), false);

ConVar_Unregister();

return true;
}

void CS2Fixes::Hook_DispatchConCommand(ConCommandHandle cmdHandle, const CCommandContext& ctx, const CCommand& args)
{
}


void CS2Fixes::AllPluginsLoaded()
{
/* This is where we'd do stuff that relies on the mod or other plugins
Expand Down

0 comments on commit 6462079

Please sign in to comment.