add(aimbot): rocket and sticky jumper to ignored weapons (#1533)
This commit is contained in:
parent
b52b836ec6
commit
ffc094ca60
@ -512,7 +512,7 @@ bool ShouldAim()
|
|||||||
if (g_pLocalPlayer->using_action_slot_item)
|
if (g_pLocalPlayer->using_action_slot_item)
|
||||||
return false;
|
return false;
|
||||||
// Using a forbidden weapon?
|
// Using a forbidden weapon?
|
||||||
if (g_pLocalPlayer->weapon()->m_iClassID() == CL_CLASS(CTFKnife))
|
if (g_pLocalPlayer->weapon()->m_iClassID() == CL_CLASS(CTFKnife) || CE_INT(LOCAL_W, netvar.iItemDefinitionIndex) == 237 || CE_INT(LOCAL_W, netvar.iItemDefinitionIndex) == 265)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
IF_GAME(IsTF2())
|
IF_GAME(IsTF2())
|
||||||
|
Reference in New Issue
Block a user