PDA

View Full Version : [Lua] Killstreak system



Grandelf
05-01-10, 01:31 PM
Killstreak system.

This killstreak system will tokens. When they killed more people without dying they get more tokens. You can define that. Also there is a filter in it for farmers. When players reach 10, 20, 30 40 or 50 kills without dying it will announce that. Player kills reset when a player dies. In the script you see this:



KILL.TokenId = -- Put your PvPToken ID here.
KILL.Count = 3 -- How many times a player will be rewarded killing the same other player. For example 3,
-- player is able to kill the same player 3 times, after that he will not get rewarded a token for killing that player anymore.
KILL.TokenOne = 1 -- How many tokens players get (kills 1 - 10)
KILL.TokenTwo = 5 -- How many tokens players get (Reached 10 kills without dying)
KILL.TokenThree = 5 -- How many tokens players get (kills 11 - 20)
KILL.TokenFour = 10 -- How many tokens players get (Reached 20 kills without dying)
KILL.TokenFive = 5 -- How many tokens players get (kills 20 - 30)
KILL.TokenSix = 15 -- How many tokens players get (Reached 30 kills without dying)
KILL.TokenSeven = 10 -- How many tokens players get (kills 30 - 40)
KILL.TokenEight = 20 -- How many tokens players get (Reached 40 kills without dying)
KILL.TokenNine = 10 -- How many tokens players get (kills 40 - 50)
KILL.TokenTen = 25 -- How many tokens players get (Reached 50 kills without dying)
KILL.TokenEleven = 15 -- How many tokens players get (Kills > 50)


Just define to your likings and enjoy =].

script: http://pastebin.com/f5b499a6d

EzMaN
05-01-10, 01:41 PM
nice one dude +rep

Milation
04-02-10, 02:59 PM
nice dude +rep

P1raten
09-02-10, 03:01 AM
Very nice dude.

trygon11
03-03-10, 09:12 PM
Could you explain how i would put this into my server?

MikExV™
26-04-10, 01:39 PM
You save it as a .lua and put it in to your arcemu scripts folder, and its good but when u kill your self it gives u one.

StickyIcky
02-05-10, 10:55 AM
Very Nice

+rep

dk_grimer
18-12-10, 04:05 AM
Nice and thanks +rep