SA-MP Forums Archive
How to make a killing spree system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make a killing spree system (/showthread.php?tid=166430)



[SOLVED] How to make a killing spree system - pmk1 - 08.08.2010

hello guys, it's been months since the last time i came here, so i lost alot of pawno knowledge, but i still remember alot of stuff. So today i'm posting to ask how could i do a killing spree system? can someone tell me how to start or something? thanks people


Re: How to make a killing spree system - Claude - 08.08.2010

pawn Код:
public OnPlayerDeath(playerid, killerid, reason);
{
    new Killingspree;
    Killingspree[killerid] ++;
    Killingspree[playerid] = 0;
   
    if(Killingspree[playerid] == ..)
    {
        // code
        return 1;
    }
   
    if(Killingspree[playerid] == ..)
    {
        // code
        return 1;
    }
    // etc...
    return 1;
}



Re: How to make a killing spree system - pmk1 - 08.08.2010

yea thanks :P but i already found it out haha i didn't know there was a Tutorial section, and i found one for this. thanks anyway