I want that some numbers increase with 1 each time you level up. I have been trying to figure it out but I can't come up with anything.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
addhook("ms100","save_hud") function save_hud() for id = 1,32 do if (player(id,"exists")) then 			parse('hudtxt2 '..id..' 48 "©000100255Level: '..level[id]..' " 230 445') 			parse('hudtxt2 '..id..' 49 "©000100255Kills needed: '..exp[id]..'/5 " 230 460') 		end 	end end addhook("kill","save_kill") function save_kill(id) 	exp[id]=exp[id]+1 	if exp[id] == 5 then 		exp[id]=0 		level[id]=level[id]+1 		msg2(id,"©000255000Level up!@C") 		msg("©255075000"..player(id,"name").." reached "..level[id].." level!") 	end end
How can I do so the number 5 (line 6) and the number 5 (line 14) increases with 1 each time you lvl up?
The script does that it takes 5 kills to lvl up but I want to increase it with 1 kill each level (lvl 1 = 5 kills, lvl 2 = 6 kills, etc)
Thanks.
NOTE: There's more script over and under that.