solution to getting weapon information.
add to the bot_t structure this
Code:
CBaseCombatCharacter *pBaseCombatChar;
then after the CBaseEntity hack by stevec add this
Code:
pBot->pBaseCombatChar = pBot->pBaseEntity->MyCombatCharacterPointer ();
to access info about the current weapon all you need to do is this
Code:
CBaseCombatWeapon *pCurrentWeapon = pBot->pBaseCombatChar->GetActiveWeapon ();
enjoy Dubb
