[help] How to add a 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)
+--- Thread: [help] How to add a Killing Spree (
/showthread.php?tid=255430)
[help] How to add a Killing Spree -
Sid_Alexander - 15.05.2011
hi guys, how can i add a killing spree, like if someones kills 3 times without dying he gets a killing spree with a price, how can i do that?
Re: [help] How to add a Killing Spree -
Jay. - 15.05.2011
Heres an example:
Top of script:
pawn Код:
new Killspree[MAX_PLAYERS];
OnPlayerDeath:
pawn Код:
KillSpree[killerid] ++;
KillSpree[playerid] = 0;
if(KillingSpree[killerid] == //Input number of kills)
{
//Do something here
}
Re: [help] How to add a Killing Spree -
fiki574 - 18.10.2011
https://sampforum.blast.hk/showthread.php?tid=291213
^ My example!
Re: [help] How to add a Killing Spree -
brett7 - 18.10.2011
https://sampforum.blast.hk/showthread.php?pid=1422137#pid1422137