m_iScore netvar

This commit is contained in:
nullifiedcat 2017-07-29 19:49:38 +03:00
parent f65fdd1468
commit 4d6f479699
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ void NetVars::Init() {
m_iTauntIndex = gNetvars.get_offset("DT_TFPlayer", "m_Shared", "m_iTauntIndex");
m_iTauntConcept = gNetvars.get_offset("DT_TFPlayer", "m_Shared", "m_iTauntConcept");
}
this->res_iScore = gNetvars.get_offset("DT_TFPlayerResource", "baseclass", "m_iScore");
IF_GAME (IsTF()) {
this->res_iMaxHealth = gNetvars.get_offset("DT_TFPlayerResource", "m_iMaxHealth");
this->res_iPlayerClass = gNetvars.get_offset("DT_TFPlayerResource", "m_iPlayerClass");

View File

@ -125,6 +125,7 @@ public:
offset_t m_bReadyToBackstab;
offset_t m_Collision;
offset_t res_iTeam;
offset_t res_iScore;
offset_t m_nChargeResistType;
offset_t m_flChargeLevel;