-
Автор темы
- #1
_____________________________________________
void Clantag()
{
if (g_Options.misc_clantag && g_LocalPlayer)
{
Utils::SetClantag("b0bware");
}
else if (!g_Options.misc_clantag)
Utils::SetClantag("");
}
Utils.hpp
__________________________________
/*
* @brief Set player clantag
*
* @param tag New clantag
*/
void SetClantag(const char* tag);
Utils.cpp
_____________________________________
/*
* @brief Set player clantag
*
* @param tag New clantag
*/
void SetClantag(const char* tag)
{
static auto fnClantagChanged = (int(__fastcall*)(const char*, const char*))PatternScan(GetModuleHandleW(L"engine.dll"), "53 56 57 8B DA 8B F9 FF 15");
fnClantagChanged(tag, tag);
}
________________________________________________________________________________________________________________________________
void Clantag()
{
if (g_Options.misc_clantag && g_LocalPlayer)
{
Utils::SetClantag("b0bware");
}
else if (!g_Options.misc_clantag)
Utils::SetClantag("");
}
Utils.hpp
__________________________________
/*
* @brief Set player clantag
*
* @param tag New clantag
*/
void SetClantag(const char* tag);
Utils.cpp
_____________________________________
/*
* @brief Set player clantag
*
* @param tag New clantag
*/
void SetClantag(const char* tag)
{
static auto fnClantagChanged = (int(__fastcall*)(const char*, const char*))PatternScan(GetModuleHandleW(L"engine.dll"), "53 56 57 8B DA 8B F9 FF 15");
fnClantagChanged(tag, tag);
}
________________________________________________________________________________________________________________________________