HP won't work
#1

Hi guys, i'm having this problem with this Health + Armour script. I tried it all, but it won't work. When it sends the messagge, the value isn't right and I don't know why. Can you help me? Thanks.
The script is italian, so I'll translate sideways
PHP код:
    new FloatVita 0// Health Float
    
new FloatArmatura 0// Armour Float
    
GetPlayerHealth(killeridVita); //Here I get killer's health
    
GetPlayerHealth(killeridArmatura); //Here I get killer's armour
     
new randMSG random(sizeof(RandomKill));
     
format(stringasizeof(stringa), "{00FF00}*{FFFFFF}*{FF0000}* {FFFFFF}%s ha %s %s {FF0000}| %s | H/A:%d | FT: %0.2f |"nome2RandomKill[randMSG], nomeGunNames[GetPlayerWeapon(killerid)], floatround(Vita+Armatura)/*floatround (health+armour)*/Distanza);
     
SendClientMessageToAll(-1stringa);} 
Reply


Messages In This Thread
HP won't work - by FiReAlEx - 11.08.2013, 23:14
Re: HP won't work - by xganyx - 12.08.2013, 01:19
Re: HP won't work - by dEcooR - 12.08.2013, 06:36
Re: HP won't work - by FiReAlEx - 12.08.2013, 09:42

Forum Jump:


Users browsing this thread: 1 Guest(s)