04.04.2009, 12:32
Quote:
|
Originally Posted by odyvan
The matter is that I am 0 for pavno! Would ready) + there should be easy! Just at the point of death, the name and to check on the life and armor
|
pawn Код:
//OnPlayerDeath
if((reason != 255) || (killerid != 255))
{
new string[128], pname[24], Float:phealth, Float:parmor;
GetPlayerName(killerid,pname,24);
GetPlayerHealth(killerid,phealth);
GetPlayerArmour(killerid,parmor);
format(string,128,"Killed by: %s who still has %f health and %f armor.",pname,phealth,parmor);
SendClientMessage(playerid,0x12B60AFF,string);
}

