I have a draw text command that goes like this:
draw_text(x+515,y+55,player_gun.magazine/player_base.ammo)
In my HUD object, it displays fine, but I can't figure out how to get it to actually display the two variables in the string the way I want. I want them to display like this:
50/100
but I get this:
0.50
basically, I want to negate the division and just display a slash between the two values. How would I do this?
draw_text(x+515,y+55,player_gun.magazine/player_base.ammo)
In my HUD object, it displays fine, but I can't figure out how to get it to actually display the two variables in the string the way I want. I want them to display like this:
50/100
but I get this:
0.50
basically, I want to negate the division and just display a slash between the two values. How would I do this?