Hi, I'm in need of help.
I'm trying to show the player's life on the screen, however getElementhealth returns me a number like this "96.657466574"
Can I convert it to integer? type: Life: 96
Sorry for my english, I'm using the translator.
local Vida = getElementHealth ( localPlayer ) or 0
dxDrawText("Vida: "..Vida, x*932, y*62, x*1072, y*87, tocolor(255, 255, 255, 255), x*1.00, "default", "center", "center", false, false, false, false, false)