Update Hooks.hpp

This commit is contained in:
0TheSpy
2022-11-14 00:21:42 +03:00
committed by GitHub
parent c0f1fbc13a
commit 6c237d0baa

View File

@ -515,7 +515,7 @@ bool __stdcall hkCreateMove(float frame_time, CUserCmd* pCmd)
iff.g_pClient->DispatchUserMessage(CS_UM_ServerRankRevealAll, 0, 0, nullptr);
if (g_Options.speclist && interval)
if (g_Options.speclist && interval && localplayer->GetHealth() > 0)
{
string spectatorList = "Spectating you:\n \n";
bool isSomeoneSpectatingYou = false;
@ -675,4 +675,4 @@ int __fastcall hkGetPlayerMoney(void* this_, void* edx, int ent_index)
// printfdbg("NotDormant %d Money %d\n", ent_index, ((C_BasePlayer*)player)->GetAccount());
return ((C_BasePlayer*)player)->GetAccount();
}
}
}