How do i detect if my character is dead in a plugin? I have some limited knowledge of this language and i'm trying to code a little plugin but i'm having trouble finding what can make me find if my character is dead. I have tried: me.dead, self.dead, Self.IsHealthPercentBelow(1) On compile it just says me or self does not exist in the current context Can someone help me and tell me how i can get a positive return for finding if my character is dead (as in on the floor, not a ghost). Thanks
To use Me.* stuff you first need to define it: Code: private static LocalPlayer Me { get { return ObjectManager.Me; } } Then you can safely do Me.IsAlive or Me.Dead