View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 02-24-2011 , 15:21   Re: [TF2] Sentry Immunity
Reply With Quote #10

Quote:
Originally Posted by Leonardo View Post
PHP Code:
#define    FL_NOTARGET            (1 << 15)
#define    FL_AIMTARGET            (1 << 16)    // set if the crosshair needs to aim onto the entity 
hmm
and should use FL_NOTARGET anyway..?
The define in entity_prop_stocks is correct for all engines except Source 2009 (CSS/TF2/DODS/GMOD).

For 2009/ep2v/orangeboxvalve, you either need to hardcode it as (1<<16) or undefine and redefine it in your code.
psychonic is offline