14.12.2011, 02:18
Well i want if player dies from splat, it just says "(My Name) has been killed by (Random person Name). Weapon: Splat
I want it to say "(My Name) has been killed from: Splat
I want it to say "(My Name) has been killed from: Splat
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i,10,X,Y,Z))
{
if(reason != 47 || reason != 51 || reason != 53 || reason != 54)
{
format(str,sizeof(str),"%s has been killed by %s. Weapon: %s",Nam,pname,WeapName);
SendClientMessage(i,-1,str);
}
else if(reason == 47 || reason == 51 || reason == 53 || reason == 54)
{
format(str,sizeof(str),"%s has been killed from: %s",Nam,WeapName);
SendClientMessage(i,-1,str);
}
}
}