Javascript-Expansion/scripts/max_health_rounded.js
2020-03-10 13:15:56 -04:00

4 lines
89 B
JavaScript

function hp() {
return Math.round(parseInt('%player_max_health%') * 100) / 100;
}
hp();