event onPlayerHit (server-side)
Available since version: 0.0.1
This event can be canceled
This event is triggered when one player hits another player.
int playerid, int killerid, DamageDescription description
intplayerid: the id of the player who was hit.
intkillerid: the id of the killer. If killerid is set to
-1, it means that there was no killer. In this particular case damage source can be fall from a tall object or scripts.
DamageDescriptiondescription: a structure containing damage information. For more information see DamageDescription