Hey again,
On my HUD I have a list of near by npc and pc's along with distance. My issue with it is that distance comes in with 2 decimal places as an integer. I want to clean up the view a bit and get it to just be the whole number.
Is there a MID(string, start, length) type function? (thats from VB and other languages) or can I simply change the distance variable to a different type and it'll drop the extra numbers?
Thanks,
~Kram
On my HUD I have a list of near by npc and pc's along with distance. My issue with it is that distance comes in with 2 decimal places as an integer. I want to clean up the view a bit and get it to just be the whole number.
Is there a MID(string, start, length) type function? (thats from VB and other languages) or can I simply change the distance variable to a different type and it'll drop the extra numbers?
Thanks,
~Kram