kwilcz / Antario

Clean base/cheat made for CS:GO.
MIT License
133 stars 34 forks source link

How to put the type of armor? #73

Closed MaximWizard closed 5 years ago

MaximWizard commented 5 years ago
"If there is helmet, then 1 if there is no helmet the 0"
should work like this

> bool GetArmour2()
>   {
>       static auto m_iArmH = g_pNetvars->GetOffset("DT_CSPlayer", "m_bHasHeavyArmor");
>       return GetValue<BYTE>(m_iArmH);
>   }

Always return true what's the problem??? I'm sorry for my very bad english language... :(

certmemer commented 5 years ago

static auto m_bHasHelmet = g_pNetvars->GetOffset("DT_CSPlayer", "m_bHasHelmet"); return GetValue(m_bHasHelmet);