Skip to content

Commit

Permalink
add console message on load of the plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
INSANEMODE committed Nov 20, 2020
1 parent e599143 commit 979eb8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ClanTagRank/ClanTagRank.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\..\AppData\Local\Plutonium\storage\iw5\plugins\</OutDir>
<TargetName>clantag</TargetName>
<OutDir>.\Release</OutDir>
<TargetName>ClanTagRank</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
Expand Down
2 changes: 2 additions & 0 deletions ClanTagRank/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ void init()
Info_ValueForKey_hook = utils::hook::vp::detour(game::Info_ValueForKey, Info_ValueForKey_stub, 5);

game::Cmd_AddCommandInternal("setclantag", set_clan_tag, allocator.allocate<game::cmd_function_t>());

std::cout << "ClanTagRank (1.4) by INSANEMODE\n";
}

BOOL APIENTRY DllMain( HMODULE hModule,
Expand Down

0 comments on commit 979eb8f

Please sign in to comment.