View Single Post
Re: Work In progress (WIP) #9
Old
  (#142)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Work In progress (WIP) #9 - 05-04-2004

Quote:
Originally Posted by stefanhendriks
i don't know if that is possible (any coder knows how to identify enemy weapon?)
Code:
// has my enemy got a big badass weapon ?
if (strcmp ("models/p_awp.mdl", STRING (pBot->pBotEnemy->v.weaponmodel)) == 0)
{
   // aaaaaaaaaaaaahhh, mommyyyyyy, it's an AWP!!!
}
just ask PMTools...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote