Class EventPlayerHurt
- Namespace
- CounterStrikeSharp.API.Core
- Assembly
- CounterStrikeSharp.API.dll
[EventName("player_hurt")]
public class EventPlayerHurt : GameEvent
- Inheritance
-
object
EventPlayerHurt
- Inherited Members
-
Constructors
EventPlayerHurt(bool)
public EventPlayerHurt(bool force)
Parameters
force
bool
EventPlayerHurt(nint)
public EventPlayerHurt(nint pointer)
Parameters
pointer
nint
Properties
Armor
public int Armor { get; set; }
Property Value
- int
Attacker
public CCSPlayerController? Attacker { get; set; }
Property Value
- CCSPlayerController
DmgArmor
public int DmgArmor { get; set; }
Property Value
- int
DmgHealth
public int DmgHealth { get; set; }
Property Value
- int
Health
public int Health { get; set; }
Property Value
- int
Hitgroup
public int Hitgroup { get; set; }
Property Value
- int
Userid
public CCSPlayerController? Userid { get; set; }
Property Value
- CCSPlayerController
Weapon
public string Weapon { get; set; }
Property Value
- string