18.02.2011, 22:10
pawn Код:
new Float:hp, Float:a;
new target = GetClosestPlayer(playerid);
if(GetDistanceBetweenPlayers(playerid,target) <= 1)
{
if(hp < 5)
{
new string[100];
new hPl[MAX_PLAYER_NAME];
GetPlayerName(target, hPl, sizeof hPl);
format(string,sizeof(string), "%s turn into a zombie !.", hPl);
SendClientMessageToAll(RED,string);
}
}

