KillStreak Problem
#5

oh! Excuse me, I missread the playerid. I saw the reseting only.
pawn Код:
Killstreak[ killerid ] ++;
Killstreak[ playerid ] = 0;
switch( Killstreak[ killerid ] )
{
    case 2:
    {
        format(string,sizeof(string),"* Your Killstreak is %s", Killstreak[killerid]);
        SendClientMessage(killerid,LIGHTGREEN,string);
        return 1;
    }
    case 5:
    {
        GivePlayerMoney(killerid,1000);
        SendClientMessage(killerid,LIGHTGREEN,"Here's an Extra $1000!");
        return 1;
    }
    case 6:
    {
        GivePlayerWeapon(playerid,24,100);
        SendClientMessage(killerid,LIGHTGREEN,"Here's a Extra Desert Eagle Ammo!");
        return 1;
    }
}
Reply


Messages In This Thread
KillStreak Problem - by acade - 10.03.2012, 18:18
Re: KillStreak Problem - by Konstantinos - 10.03.2012, 18:25
Re: KillStreak Problem - by acade - 10.03.2012, 18:26
Re: KillStreak Problem - by Max_Coldheart - 10.03.2012, 18:26
Re: KillStreak Problem - by Konstantinos - 10.03.2012, 18:31
Re: KillStreak Problem - by acade - 10.03.2012, 18:42
Re: KillStreak Problem - by Max_Coldheart - 10.03.2012, 18:43
Re: KillStreak Problem - by acade - 10.03.2012, 19:07
Re: KillStreak Problem - by [ABK]Antonio - 10.03.2012, 23:26
Re: KillStreak Problem - by Max_Coldheart - 11.03.2012, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)