2 problem with script
#1

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);
        }
    }
Well the problem is
1.For the weapon it shows Weapon: it doesnt show the weapon name
Reply


Messages In This Thread
1 problem with script - by Tanush123 - 13.12.2011, 01:56
Re: 2 problem with script - by -Rebel Son- - 13.12.2011, 02:36
Re: 2 problem with script - by Tanush123 - 13.12.2011, 02:39
Re: 2 problem with script - by Tanush123 - 13.12.2011, 23:16
Re: 2 problem with script - by Rob_Maate - 13.12.2011, 23:20
Re: 2 problem with script - by Tanush123 - 13.12.2011, 23:21
Re: 2 problem with script - by Rob_Maate - 13.12.2011, 23:26

Forum Jump:


Users browsing this thread: 1 Guest(s)