event onPlayerChangeHealth (server-side)
Available since version: 0.3.0
Triggered when player health changes.
Parameters
void onPlayerChangeHealth(number player_id, number oldHP, number newHP)
numberplayer_id: The id of the player whose health points got changed.numberoldHP: The previous health points of the player.numbernewHP: The new health points of the player.