Thread
:
Getting the enemy's weapon-help plz
View Single Post
Re: Getting the enemy's weapon-help plz
(#
2
)
jeefo
путинхуйлоебаное
Status:
Offline
Posts: 453
Join Date: Nov 2005
Location: Saint-Petersburg
Re: Getting the enemy's weapon-help plz -
10-06-2006
weaponmodel field is a string, so you need to use a strcmp() stuff, so i advice you to use bits
if ((targetEnemy->v.weapons & (1 << CS_WEAPON_AWP)))
m_botHasAWP = true;
in this way
jeefo
View Public Profile
Send a private message to jeefo
Visit jeefo's homepage!
Find More Posts by jeefo