Spoiler
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
-- Jackzom mod by Jackisokay2 -- version: 1.0 -- author: Jackisokay2 -- release N/A ------------ SETUP ------------ dofile("sys/lua/no.lua") dofile("sys/lua/unlimitedbuild.lua") parse("mp_antispeeder 0") parse("hud_fireinthehole 0") parse("mp_killinfo 0") parse("sv_gamemode 4") parse("mp_damagefactor 0.4") parse("mp_wpndmg deagle 30") parse("mp_wpndmg m3 65") parse("mp_wpndmg xm1014 55") parse("mp_wpndmg claw 2000") parse("mp_wpndmg deagle 35") parse("mp_wpndmg mine 100") parse("mp_wpndmg he 100") parse('mp_wpndmg "Gut Bomb" 0') parse("mp_autoteambalance 0") parse("sv_friendlyfire 0") parse("mp_infammo 1") parse("mp_zombierecover 0") parse("sv_fow 0") if sample==nil then sample={} end sample.zombie={} function initArray(m) local array = {} for i = 1, m do array[i]=0 end return array end sample.zombie.class=initArray(32) function zombiemenu(id) menu(id,"Select your Class,Basic|Basic,Spy|Stealth,Fat Zombie|Armor,Fast Zombie|Speed,Strong Zombie|Machete,Super Fat Zombie|Super Armor") end addhook("team","teamm") 	function teamm(id,team) 		if (team == 1) then 		 zombiemenu(id) -- opens zombie class menu end end 	addhook("serveraction","svac") 		function svac(id,ac) 			if (player(id,"team")==1) then 			 if (ac == 1) then 	 zombiemenu(id) -- opens zombie menu if you press F2 end end end addhook("menu","sample.zombie.menu") function sample.zombie.menu(id,menu,sel) if (menu=="Select your Class") then if (sel>=0 and sel<=6) then sample.zombie.class[id]=sel end end end end addhook("spawn","sample.zombie.spawn") function sample.zombie.spawn(id) if (sample.zombie.class[id]<=1) then parse ("setmaxhealth "..id.." 100") parse ("setarmor "..id.." 0") return "78,86,0"; end if (sample.zombie.class[id]==2) then parse ("setmaxhealth "..id.." 80") parse ("speedmod "..id.." 5") return "78,86,84"; end if (sample.zombie.class[id]==3) then parse ("setmaxhealth "..id.." 80") parse ("speedmod "..id.." -1") return "78,86,80"; end if (sample.zombie.class[id]==4) then parse ("setmaxhealth "..id.." 40") parse ("setarmor "..id.." 10") parse ("speedmod "..id.." 20") return "78,86,0"; end if (sample.zombie.class[id]==5) then parse ("setmaxhealth "..id.." 75") parse ("setarmor "..id.." 0") parse ("equipitem "..id.." 69") return "78,86,69"; end if (sample.zombie.class[id]==6) then parse ("setmaxhealth "..id.." 75") parse ("speedmod "..id.." -10") return "78,86,83"; end end addhook("buy","sample.zombie.buy") function sample.classes.buy() return 1 end addhook("walkover","sample.zombie.walkover") function sample.zombie.walkover(id,iid,type) if (type>=61 and type<=68) then return 0 end return 1 end addhook("drop","sample.zombie.drop") function sample.zombie.drop() return 1 end addhook("die","sample.zombie.die") function sample.zombie.die() return 1 end
edited 1×, last 26.11.09 05:26:45 am