1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
classic_set1 = {}
classic_set2 = {}
classic_set3 = {}
classic_set1={"de_dust","de_dust2","de_cs2d","de_dust3","de_dust2_unlimited","de_frozen","de_hollogen.kc"}
classic_set2={"zm_9_areas","zm_alien_space","zm_Zombie's","ze_caution"}
classic_set3={"cs_assault","fun_base_town","DR_LIGHT"}
addhook("spawn","lolz")
function lolz(id)
	for i = 1, #maps do
		if map("name") == classic_set1[i] then
			parse("equip "..id.." 30")
			parse("equip "..id.." 51")
		end
		if map("name") == classic_set2[i] then
			parse("equip "..id.." 74")
			parse("equip "..id.." 79")
		end
	end
end
addhook("startround","lolz1")
function lolz1(id)
	for i = 1, #maps do
		if map("name") == classic_set1[i] then
			parse("mp_autoteambalance 0")
			parse("sv_gm 2")
		end
	end
end
I use this way, but I used here other thing, what I'm actually using in my script. (I mean maps, equips)