/// gui_health()
/*if (global.playerhealth < 0) global.playerhealth = 0;
guih = ceil(global.playerhealth);
if (global.playerhealth >= 100) guih = global.playerhealth - 100;
if (global.playerhealth >= 200) guih = global.playerhealth - 200;
if (global.playerhealth >= 300) guih = global.playerhealth - 300;
if (global.playerhealth >= 400) guih = global.playerhealth - 400;
if (global.playerhealth >= 500) guih = global.playerhealth - 500;
if (global.playerhealth >= 600) guih = global.playerhealth - 600;
if (global.playerhealth >= 700) guih = global.playerhealth - 700;
if (global.playerhealth >= 800) guih = global.playerhealth - 800;
if (global.playerhealth >= 900) guih = global.playerhealth - 900;
if (global.playerhealth >= 1000) guih = global.playerhealth - 1000;
if (global.playerhealth >= 1100) guih = global.playerhealth - 1100;
if (global.playerhealth >= 1200) guih = global.playerhealth - 1200;
if (global.playerhealth >= 1300) guih = global.playerhealth - 1300;
if (global.playerhealth >= 1400) guih = global.playerhealth - 1400;
if (global.playerhealth >= 1500) guih = global.playerhealth - 1500;
if (global.playerhealth >= 1600) guih = global.playerhealth - 1600;
if (global.playerhealth >= 1700) guih = global.playerhealth - 1700;
if (global.playerhealth >= 1800) guih = global.playerhealth - 1800;
if (global.playerhealth >= 1900) guih = global.playerhealth - 1900;
if (global.playerhealth >= 2000) guih = global.playerhealth - 2000;
if (global.playerhealth >= 2100) guih = global.playerhealth - 2100;
if (global.playerhealth >= 2200) guih = global.playerhealth - 2200;
if (global.playerhealth >= 2300) guih = global.playerhealth - 2300;
if (global.playerhealth >= 2400) guih = global.playerhealth - 2400;
if (global.playerhealth >= 2500) guih = global.playerhealth - 2500;
if (global.playerhealth >= 2600) guih = global.playerhealth - 2600;
if (global.playerhealth >= 2700) guih = global.playerhealth - 2700;
if (global.playerhealth >= 2800) guih = global.playerhealth - 2800;
if (global.playerhealth >= 2900) guih = global.playerhealth - 2900;
if (global.playerhealth >= 3000) guih = global.playerhealth - 3000;
if (ceil(guih) == 100) guih = 0;
guih = string(ceil(guih));
if (real(guih) < 10) guih = "0" + guih;
return guih;



/*  ORIGINAL
/// gui_health()
if (global.playerhealth < 0) global.playerhealth = 0;
guih = ceil(global.playerhealth);
if (global.playerhealth >= 100) guih = global.playerhealth - 100;
if (global.playerhealth >= 200) guih = global.playerhealth - 200;
if (global.playerhealth >= 300) guih = global.playerhealth - 300;
if (global.playerhealth >= 400) guih = global.playerhealth - 400;
if (global.playerhealth >= 500) guih = global.playerhealth - 500;
if (global.playerhealth >= 600) guih = global.playerhealth - 600;
if (global.playerhealth >= 700) guih = global.playerhealth - 700;
if (global.playerhealth >= 800) guih = global.playerhealth - 800;
if (global.playerhealth >= 900) guih = global.playerhealth - 900;
if (global.playerhealth >= 1000) guih = global.playerhealth - 1000;
if (ceil(guih) == 100) guih = 0;
guih = string(ceil(guih));
if (real(guih) < 10) guih = "0" + guih;
return guih;
*/
