Yes I know this is a necropost but I don't care.
Quote:
Originally Posted by Thraka
Doh! It was m_fFlags. I fixed it but it didn't work
Here is my code when a person was frozen:
Code:
new flags = GetEntityFlags(player);
if (!(flags & FL_NOTARGET))
{
flags &= FL_NOTARGET;
SetEntProp(player, Prop_Data, "m_fFlags", flags);
}
|
It turns out that the define for FL_NOTARGET is incorrect in the sdk/smapi on the ep2v (tf2/css/etc.) engine. The flag got bumped by one.
Try using (1<<16) for it. It seems like it will work.