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
34
35
36
37
38
39
40
41
42
43
44
45
46
addhook("minute","increaseZombieDifficulty")
function increaseZombieDifficulty(id,score)
	--[[ MY TRY (learned index array here)
	--https://www.youtube.com/watch?v=-5Vma8aNCkA
	--https://unrealsoftware.de/forum_posts.php?post=431941#jn
	for id=1,32 do
	if player(id,"team")==2 then --CT
		parse("setscore "..id.." "..score)
	end
	end
	--]]
	for k,id in pairs(player(0,"team2living")) do
		local playerCurrentScore = player(id,"score")
		parse("setscore "..id.." "..playerCurrentScore+scoreModifier)
		--msg("System feeded "..#player(0,"team2living").. " amount of alive humans")
		local path="SFalarm.wav"
		parse("bot_add_t")
		zSPDmax = zSPDmax + 2
		zHPmax = zHPmax + 5
		parse("mp_buymenu \"4||23,24|34||58,54\" ")
		--[[
		4 - P228
		10 - M3
		20 - MP5
		23 - MAC10
		24 - UMP45
		1 - USP
		2 - GLOCK
		3 - Deagle
		5 - Elite
		6 - Five-seven
		11 - XM1014
		--]]
		scoreModifier = scoreModifier + 1
		parse("sv_sound "..path.."")
		parse("msg ©150000000Zombies increase in power...")
		parse("msg ©150150255Survivors +"..scoreModifier.." Score! ")
		if zSPDmax >= 20 then
		zSPDmax = 20
		end
		if zHPmax >= 150 then
		zHPmax = 150
		end
	end
end