1 Problem
#1

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
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);
            }
        }
    }
Reply


Messages In This Thread
1 Problem - by Tanush123 - 14.12.2011, 02:18
Re: 1 Problem - by Ballu Miaa - 14.12.2011, 02:23
Re: 1 Problem - by suhrab_mujeeb - 14.12.2011, 02:43
Re: 1 Problem - by Rob_Maate - 14.12.2011, 03:12
Re: 1 Problem - by Tanush123 - 15.12.2011, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)