View Single Post
Cookies.net
Senior Member
Join Date: Jan 2011
Old 02-24-2011 , 04:04   Re: [TF2] Sentry Immunity
Reply With Quote #5

Looks cool so i decided to look at the source, and what i notice is this

PHP Code:
new flags GetEntityFlags(target_list[i])+(1<<16);
new 
flags GetEntityFlags(target_list[i])-(1<<16); 
im pretty sure that isn't a good way of dealing with it (+-)

i think this is what you should be using
PHP Code:
new flags GetEntityFlags(target_list[i])|(1<<16); // | instead of +
new flags GetEntityFlags(target_list[i])&~(1<<16); // &~ instead of - 
Cookies.net is offline