Thread
:
[SNIPPET] TF2 deathflags
View Single Post
r5053
SourceMod Donor
Join Date: May 2007
Location: Germany
06-08-2009 , 16:12 Re: [SNIPPET] TF2 deathflags
#
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
View Public Profile
Send a private message to r5053
Visit r5053's homepage!
Find More Posts by r5053