Liberty Unleashed

Scripting => Script Releases => Topic started by: AKKADIAN on January 17, 2012, 04:01:59 pm

Title: Killing spree
Post by: AKKADIAN on January 17, 2012, 04:01:59 pm
Code: [Select]
if ( spree == 2 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has double kill");
RFSICash(killer,2000)
PrivMessage("Reward : 2000",killer);
}
else if ( spree == 3 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has triple kill");
RFSICash(killer,2500)
PrivMessage("Reward : 2500",killer);
}
else if ( spree == 4 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has multi kill");
RFSICash(killer,3000)
PrivMessage("Reward : 3000",killer);
}
else if ( spree == 5 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has killing spree");
RFSICash(killer,5000)
PrivMessage("Reward : 5000",killer);
}
else if ( spree == 6 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has ultra kill");
RFSICash(killer,5500)
PrivMessage("Reward : 5500",killer);
}
else if ( spree == 7 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has mega kill");
RFSICash(killer,6000)
PrivMessage("Reward : 6000",killer);
}
else if ( spree == 8 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has ludicrous kill");
RFSICash(killer,6500)
PrivMessage("Reward : 6500",killer);
}
else if ( spree == 9 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has rampage kill");
RFSICash(killer,7000)
PrivMessage("Reward : 7000",killer);
}
else if ( spree == 10 ) {
Message("[#ff0000] [K.S] player ,"+killer+" is unstoppable");
RFSICash(killer,10000)
PrivMessage("Reward : 10000",killer);
}
else if ( spree == 11 ) {
Message("[#ff0000] [K.S] player ,"+killer+" has monster killer");
RFSICash(killer,15000)
PrivMessage("Reward : 15000",killer);
}
All you need to do is to replace define "spree" as your spree counter , and replace RFSICash(player,ammount) with your increase cash function.
Title: Re: Killing spree
Post by: Murdock on January 17, 2012, 04:33:22 pm
So the player isn't allowed to get a reward for more than 11 kills? How silly is that
Title: Re: Killing spree
Post by: AKKADIAN on January 17, 2012, 07:39:31 pm
Well from double kill to monster kill is the cs killing spree system , so if you have some nice ideea you cann add them , go ahead :)
Title: Re: Killing spree
Post by: Murdock on January 17, 2012, 07:52:18 pm
Well from double kill to monster kill is the cs killing spree system

Oh I see, however I don't think the double, triple and multikill are spree-related in CS
Title: Re: Killing spree
Post by: AKKADIAN on January 18, 2012, 03:20:03 pm
they are
Title: Re: Killing spree
Post by: Murdock on January 18, 2012, 07:05:42 pm
they are

I don't think so

Edit by VRocker because he cant be arsed to post: Double, Triple and Multikills in counterstrike are when you kill 2, 3 or more people with the same shot or in the same second. (for example, grenading a room full of people) so they are not spree related :)