Get player damage

Returns the amount of damage the specified player has.

Syntax
get_player_damage( player );

Returns
int (# of the player percent)

Examples
//update.gml //this character has higher gravity when over 100%: if (get_player_damage( player ) >= 100) { gravity_speed = 1.0; } else { gravity_speed = 0.5; } }