kill spree help
#1

im trying to make a killing spree it shows on chat but it wont show for some reason. i put this onplayerdeath
pawn Код:
new name[MAX_PLAYER_NAME],str[128];
    GetPlayerName(killerid,name,sizeof(name));
    if(spree[killerid] == 0)
    {
        spree[killerid] = 1;
    }
    else if(spree[killerid] == 1)
    {
        spree[killerid] = 2;
    }
    else if(spree[killerid] == 2)
    {
        spree[killerid] = 3;
    }
    else if(spree[killerid] == 3)
    {
        spree[killerid] = 4;
    }
    else if(spree[killerid] == 4)
    {
        spree[killerid] = 5;
        format(str,sizeof(str),"%s is in a 5 Kill Spree!!!!",name);
    }
    else if(spree[killerid] == 5)
    {
        spree[killerid] = 6;
    }
    else if(spree[killerid] == 6)
    {
        spree[killerid] = 7;
    }
    else if(spree[killerid] == 7)
    {
        spree[killerid] = 8;
    }
    else if(spree[killerid] == 8)
    {
        spree[killerid] = 9;
    }
    else if(spree[killerid] == 9)
    {
        spree[killerid] = 10;
        format(str,sizeof(str),"%s is in a 10 Kill Spree!!!!",name);
    }
Reply


Messages In This Thread
kill spree help - by tanush - 03.08.2011, 21:17
Re: kill spree help - by Mean - 03.08.2011, 21:21
Re: kill spree help - by tanush - 04.08.2011, 17:42
Re: kill spree help - by MadeMan - 04.08.2011, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)