[Request] Longest Killstreak
#2

pawn Код:
new streaks[MAX_PLAYERS]; //global
public OnPlayerDeath(playerid, killerid, reason)
{
    streaks[killerid]++; //will add 1 to the killer's streak
    streaks[playerid] = 0; // will reset the streaks of the player who dies
 
    switch(streaks[killerid]
    {
        case :1
        {
            GameTextForAll("1 kill", 1000, 2);
         }
         case :2
         {
             //continue here
         }
     }
    return 1;
}
something like that i guess
Reply


Messages In This Thread
[Request] Longest Killstreak - by Champ - 20.02.2012, 16:54
Re: [Request] Longest Killstreak - by emokidx - 20.02.2012, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)