13.12.2011, 01:56
(
Последний раз редактировалось Tanush123; 13.12.2011 в 23:16.
)
pawn Код:
GetPlayerPos(killerid,X,Y,Z);
GetPlayerName(playerid,Nam,sizeof(Nam));
GetPlayerName(killerid,pname, sizeof(pname));
GetWeaponName(weap,WeapName,32);
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i,5,X,Y,Z))
{
format(str,sizeof(str),"%s has been killed by %s. Weapon: %s",Nam,pname,WeapName);
SendClientMessage(i,orange,str);
}
}
1.For the weapon it shows Weapon: it doesnt show the weapon name