After investigating into this I found it produces a number that is not whole. Just as : Screenshot shows. How would I round this number to the actual players health?
[DOUBLEPOST=1461978630][/DOUBLEPOST]Nevermind solved - Converted it to a uint64 number: Convert.ToUInt64(player.Health());
Solved Player.Health()
Discussion in 'Rust Development' started by DylanSMR, Apr 30, 2016.
-
You can also use Math.Round or Math.Floor.
-