help with health
#5

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new duelSTR[200];
   
    new Float:H,Float:A;
        GetPlayerHealth(killerid,H);
        GetPlayerArmour(killerid,A);
   
    format(duelSTR,sizeof(duelSTR),"%s killed %s (life reaming: %f)",GetName(killerid),GetName(playerid),H+A);
    SendClientMessageToAll(0xD5D48FFF,duelSTR);
    return 1;
}
its and float value so use %f
Reply


Messages In This Thread
help with health - by Lucas_HenryK - 19.10.2014, 03:36
Re: help with health - by Lucas_HenryK - 19.10.2014, 12:35
Re: help with health - by Quickie - 19.10.2014, 12:47
Re: help with health - by Lucas_HenryK - 19.10.2014, 13:28
Re: help with health - by AroseKhanNiazi - 19.10.2014, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)