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

4 lines
85 B
JavaScript

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