Kill streak system
#8

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    Streak[playerid] = 0;
    if(IsPlayerConnected(killerid))
    {
        Streak[killerid]++;
        switch(Streak[killerid])
        {
            case 5: GameTextForPlayer(killerid,"~g~You are on a 5 killstreak!",5000,5);
            case 10: GameTextForPlayer(killerid,"~g~You are on a 10 killstreak!",5000,5);
            case 15: GameTextForPlayer(killerid,"~g~You are on a 15 killstreak!",5000,5);
            case 20: GameTextForPlayer(killerid,"~g~You are on a 20 killstreak!",5000,5);
            case 25: GameTextForPlayer(killerid,"~g~You are on a 25 killstreak!",5000,5);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Kill streak system - by Shockey HD - 29.07.2011, 19:45
Re: Kill streak system - by Snipa - 29.07.2011, 19:52
Re: Kill streak system - by Shockey HD - 29.07.2011, 20:01
Re: Kill streak system - by Snipa - 29.07.2011, 20:04
Re: Kill streak system - by Shockey HD - 29.07.2011, 20:19
Re: Kill streak system - by Snipa - 29.07.2011, 20:22
Re: Kill streak system - by Shockey HD - 29.07.2011, 20:27
Re: Kill streak system - by MadeMan - 29.07.2011, 20:35
Re: Kill streak system - by Shockey HD - 29.07.2011, 20:45
Re: Kill streak system - by MadeMan - 29.07.2011, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)