Skip to content

event onPlayerChangeHealth (server-side)

This event is triggered when player health changes.

Parameters

int playerid, int oldHP, int newHP
  • int playerid: the id of the player whose health points gets changed.
  • int oldHP: the previous health points of the player.
  • int newHP: the new health points of the player.