SA-MP Forums Archive
How to check if player is on killing spree? - 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 check if player is on killing spree? (/showthread.php?tid=189632)



How to check if player is on killing spree? - ZamaXor - 12.11.2010

Okay i have a killing spree system. i wanna do something like that. When you type /checkspree [id] it checks the number of killing spree of a selected playerid.

pawn Код:
KillingSpree[killerid] ++;
KillingSpree[playerid] = 0;

if(KillingSpree[killerid] == 5)
{
//Reward
}



Re: How to check if player is on killing spree? - The_Moddler - 12.11.2010

You will need to use at least dcmd if you don't want to use strtok.