then how about this one from podbot 2.6...
Code:
typedef struct
{
int iId; // the weapon ID value
char weapon_name[64]; // name of the weapon when selecting it
char model_name[64]; // Model Name to separate CS Weapons
float primary_min_distance; // 0 = no minimum
float primary_max_distance; // 9999 = no maximum
float secondary_min_distance; // 0 = no minimum
float secondary_max_distance; // 9999 = no maximum
bool can_use_underwater; // can use this weapon underwater
bool primary_fire_hold; // hold down primary fire button to use?
float primary_charge_delay; // time to charge weapon
int iPrice; // Price when buying
int min_primary_ammo;
int iTeamStandard; // Used by Team (Number) (standard map)
int iTeamAS; // Used by Team (AS map)
int iBuyGroup; // Group in Buy Menu (standard map)
int iBuySelect; // Select Item in Buy Menu (standard map)
bool bShootsThru; // Can shoot thru Walls
} bot_weapon_select_t;