Code:
pulse:
player = GetLocalPlayerThing();
anyone = FirstThingInView(player, 179, 999, 0x404);
if(GetActorFlags(anyone) & 8)
{
jkStringClear();
jkStringConcatPlayerName(anyone);
jkStringConcatAsciiString(" has God mode on!");
jkStringOutput(-3, -3);
Return;
}
else
{
Print("NOPE NOTHING TO SEE HERE");
Return;
}
Return;Well...this isn't working right. It always prints "[FirstThingInView] has God mode on!", or if anyone leaves my sight it just switches to "has God mode on!"
Any help in this regard would rock.

ReT
You want 0x8 (Creature is invulnerable)