View Single Post
Re: Condition Zero TraceLine() weirdness
Old
  (#8)
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: Condition Zero TraceLine() weirdness - 24-08-2004

If you want to be SURE it's a human client the target of the TraceLine (and not a bot nor anything else), you can do this:
Code:
// is a human taking damage?
if ( (ptr->pHit->v.flags & FL_CLIENT) && !(ptr->pHit->v.flags & FL_FAKECLIENT) )
Maybe this is what you were looking for ?



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