[Request] Longest Killstreak
#1

i want longest killstreak(kills without death) in my stats but i don't know how to make, can any one make it here. i am using dini saving system and i using ladmin system, please make.....
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)