View Single Post
r5053
SourceMod Donor
Join Date: May 2007
Location: Germany
Old 06-08-2009 , 16:12   Re: [SNIPPET] TF2 deathflags
Reply With Quote #5

ok ... found this:

//4 (00100) is not a bit inside 16 (10000) and this will return 0.
(16 & 4)

means the correct code to check for
killerrevenge is:

#define killerrevenge 4

if (deathflag &
killerrevenge)

(as example)
I think this is better readable
__________________
Visit HLPortal.de (this is not my Page)



Last edited by r5053; 06-08-2009 at 16:24.
r5053 is offline
Send a message via ICQ to r5053 Send a message via Skype™ to r5053