Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Находишь эту хуйню
- void MsgFunc_ServerRankRevealAll()
- {
- using tServerRankRevealAllFn = bool(__cdecl*)(int*);
- static tServerRankRevealAllFn ServerRankRevealAll = 0;
- if (!ServerRankRevealAll)
- {
- ServerRankRevealAll = (tServerRankRevealAllFn)(
- CSX::Memory::FindPattern(CLIENT_DLL, "55 8B EC 8B 0D ? ? ? ? 85 C9 75 ? A1 ? ? ? ? 68 ? ? ? ? 8B 08 8B 01 FF 50 ? 85 C0 74 ? 8B C8 E8 ? ? ? ? 8B C8 EB ? 33 C9 89 0D ? ? ? ? 8B 45 ? FF 70 ? E8 ? ? ? ? B0 ? 5D", 0));
- }
- if (ServerRankRevealAll)
- {
- int fArray[3] = { 0,0,0 };
- ServerRankRevealAll(fArray);
- }
- } //до выяснений
- void CEsp::OnCreateMove(CUserCmd* cmd)
- {
- if (Settings::Esp::esp_Rank && cmd->buttons & IN_SCORE)
- MsgFunc_ServerRankRevealAll();
- //g_pEsp->SoundEsp.Update();
- }
- и свапаешь ее на эту хуйню
- //тест ранк хуйни
- void MsgFunc_ServerRankRevealAll() { using tServerRankRevealAllFn = bool(__cdecl*)(int*); static tServerRankRevealAllFn ServerRankRevealAll = 0; if (!ServerRankRevealAll) { ServerRankRevealAll = (tServerRankRevealAllFn)(CSX::Memory::FindPattern(CLIENT_DLL, "55 8B EC 8B 0D ? ? ? ? 85 C9 75 ? A1 ? ? ? ? 68 ? ? ? ? 8B 08 8B 01 FF 50 ? 85 C0 74 ? 8B C8 E8 ? ? ? ? 8B C8 EB ? 33 C9 89 0D ? ? ? ? 8B 45 ? FF 70 ? E8 ? ? ? ? B0 ? 5D", 0)); }if (ServerRankRevealAll) { int fArray[3] = { 0,0,0 }; ServerRankRevealAll(fArray); } }
- void CEsp::OnCreateMove(CUserCmd* cmd)
- {
- if (Settings::Misc::antiuntrusted)
- {
- return;
- }
- else
- {
- if (Settings::Esp::esp_Rank && cmd->buttons & IN_SCORE)
- MsgFunc_ServerRankRevealAll();
- g_pEsp->SoundEsp.Update();
- }
- }
- Под сдк переписал, работать должно (наверное)
- Наверное у тебя встал вопрос, почему был закоменчен сауд есп? Забей, просто замени xd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement