player_hurt
Arguments
Type | Name | Description |
---|---|---|
short | userid | user ID of who was hurt |
short | attacker | user ID of who attacked |
byte | health | remaining health points |
byte | armor | remaining armor points |
string | weapon | weapon name attacker used, if not the world |
short | dmg_health | damage done to health |
byte | dmg_armor | damage done to armor |
byte | hitgroup | hitgroup that was damaged |