How to put the type of armor?
MaximWizard opened this issue · 1 comments
MaximWizard commented
"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
static auto m_bHasHelmet = g_pNetvars->GetOffset("DT_CSPlayer", "m_bHasHelmet");
return GetValue(m_bHasHelmet);