Function isn't working. No errors, warrnings, messages here's a code:
Code:
// Do da hacks
IClientEntity *pLocal = Interfaces::EntList->GetClientEntity(Interfaces::Engine->GetLocalPlayer());
if (Interfaces::Engine->IsConnected() && Interfaces::Engine->IsInGame() && pLocal && pLocal->IsAlive())
Hacks::MoveHacks(pCmd, bSendPacket);
}
if (Interfaces::Engine->IsInGame() && Interfaces::Engine->IsConnected()) {
static auto SetClanTag = reinterpret_cast<void(__fastcall*)(const char*, const char*)>(reinterpret_cast<uintptr_t>(GetModuleHandleA("engine.dll")) + 0x9cb00);
//clan tags
static bool active = true;
if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag1.GetKey())) {
if (active == true) {
printf("Something\n");
SetClanTag("V E R U S . C C |", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag2.GetKey())) {
if (active == true) {
SetClanTag("V E R U S . C C |", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag3.GetKey())) {
if (active == false) {
SetClanTag("uff yaa", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag4.GetKey())) {
if (active == false) {
SetClanTag("izakMODS", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag5.GetKey())) {
if (active == false) {
SetClanTag("[VALV\xE1\xB4\xB1]", "Valve");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag6.GetKey())) {
if (active == false) {
SetClanTag("GITARA SIEMA", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag7.GetKey())) {
if (active == false) {
SetClanTag("m0neywaster", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
if (active == false) {
SetClanTag("[ZE4CHEATS]", "name");
active = true;
}
}
else if (GetAsyncKeyState(Menu::Window.MiscTab.ClanTag8.GetKey())) {
if (active == false) {
SetClanTag("Trump Supporter", "name");
active = true;
}
}
else
active = true;
}
That's all
And this
Code:
*
#pragma region ClandTags
ClandTags.SetText("ClanTag Changer");
ClandTags.SetPosition(408, 175);
ClandTags.SetSize(300, 300);
RegisterControl(&ClandTags);
ClanTag1.SetFileId("clantag_key1");
ClandTags.PlaceLabledControl("STAINLESS' Tag", this, &ClanTag1);
ClanTag2.SetFileId("clantag_key2");
ClandTags.PlaceLabledControl("UNTRA$TED Tag", this, &ClanTag2);
ClanTag3.SetFileId("clantag_key3");
ClandTags.PlaceLabledControl("uff yaa Tag", this, &ClanTag3);
ClanTag4.SetFileId("clantag_key4");
ClandTags.PlaceLabledControl("izakMods TAG", this, &ClanTag4);
ClanTag5.SetFileId("clantag_key5");
ClandTags.PlaceLabledControl("Valve Tag", this, &ClanTag5);
ClanTag7.SetFileId("clantag_key7");
ClandTags.PlaceLabledControl("m0neywaster Tag", this, &ClanTag7);
ClanTag6.SetFileId("clantag_key6");
ClandTags.PlaceLabledControl("GITARA SIEMA Tag", this, &ClanTag6);
ClanTag8.SetFileId("clantag_key8");
ClandTags.PlaceLabledControl("ZE4CHEATS Tag", this, &ClanTag8);
ClanTag9.SetFileId("clantag_key9");
ClandTags.PlaceLabledControl("Trump Supporter Tag", this, &ClanTag9);
*
But in here i've got 2 errors
1. Operand for "*" must be a poniter
2. Operand for "*" must be a poniter