function setPlayerHealth (client-side)
Available since version: 0.3.0
Set a player's current health (clamped to [0,max]).
Declaration
void setPlayerHealth(int player_id, int health)
Parameters
intplayer_id: Target player id.inthealth: New health value.