did you know the cZ CT survival iwant know that lua pls if anyone know comment back ok
Forum
CS2D Scripts make me this scriptmake me this script
6 replies 1
did you know the cZ CT survival iwant know that lua pls if anyone know comment back ok
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
function equip(id,wid) parse('equip '..id..' '..wid) end function setarmor(id,a) parse('setarmor '..id..' '..a) end function setmaxhealth(id,h) parse('setmaxhealth '..id..' '..h) end function speedmod(id,speed) parse("speedmod "..id.." "..speed) end function Array(size,value) 	local array = {} 	for i = 1, size do 		array[i]=value 	end 	return array end mx = Array(32,0) my = Array(32,0) timer(150,"requestdata","",0) function requestdata() 	reqcld(0,2) end addhook("spawn","mnu") function mnu(id) 	if (player(id,"team")==2) then 		menu(id,"Survivor Menu,Pick Class From Map,Blocker,Tank,Attack Freak,The Noob,Trickster") 	elseif (player(id,"team")==1) then 		menu(id,"Zombie Classes,Normal Zombie,Ninja,Tank Zombie,Pyro Zombie,Ripper Zombie,Scout Zombie") 	end end addhook("die","nodeathdrop") function nodeathdrop() 	return 1 end addhook("drop","nodrop") function nodrop() 	return 1 end addhook("walkover","nowalk") function nowalk(id,iid,type) if (type>=61 and type<=68) then return 0 		end 		return 1 	end addhook("endround","botkick") function botkick() 	parse("bot_remove_all") end addhook("clientdata","clientdata") function clientdata(id,mode,x,y) 	if mode == 2 then 		mx[id] = x 		my[id] = y 	end end addhook("attack","client") function client(id) 	if (player(id,"team")==2) then 		if player(id,"weapon") == 78 then 			parse("setpos "..id.." "..mx[id].." "..my[id].."") 		end 	end 	if player(id,"weapontype") == 69 then 		reqcld(id,2) 		parse("explosion "..cx[id].." "..cy[id].." 75 5000 "..id) 	end end cx={50} cy={50} addhook("clientdata","reccd") function reccd(id,mode,x,y) 	if (mode==2) then 	cx[id]=x 	cy[id]=y 	end end addhook("say","_say") function _say(id,message) if string.lower(message)=="!team" then toggleTeam(id) 		return 1 end end function toggleTeam(id) if player(id,"team")~=0 then if player(id,"health")>0 then if player(id,"team")==1 then parse("makect "..id) else parse("maket "..id) end parse("setdeaths "..id.." "..player(id,"deaths")-1) end end end addhook("minute","makemsg") function makemsg() 	msg("If you want to be a Survivor, type: !team") 	parse("bot_add_t") 	parse("bot_add_t") 	parse("bot_add_t") end ------------ -- CONFIG -- ------------ HP = 3 -- how many HP will be added per second? ------------ addhook("second", "every_second") function every_second() 	players = player(0, "tableliving") -- get all living players IDs 	if #players > 0 then -- is anybody alive? 		table.foreach( players, Heal ) -- if is, then heal :) 	end end function Heal(_index) 	id = players[_index] 	plus = player(id, "health")+HP -- calculate final HP 	parse("sethealth "..id.." "..plus) -- make it happen end addhook("startround","antifreeze") function antifreeze() 	parse("bot_freeze 0") end addhook("kill","no_money") function no_money(id) 	parse("setmoney "..id.." "..(player(id,"money")-295)) end function shopmenu(id) 		menu(id,"Shop,Weapons,Equipment,Next") 	end addhook("use","gunbuy") function gunbuy(id,event,data,x,y) 	if (x == 43 and y == 62) then 		shopmenu(id) 	end end addhook("menu", "smenu") function smenu(id,title,button) 	if title=="Shop" then 		if button == 1 then 			menu(id,"Weapons Page 1,Mac10|15Pts.,Shotgun|30Pts.,Ak-47|60Pts.,P90|120Pts.,Rocket Launcher|200Pts.,Divine Blade|600Pts.,Claw of Teleportation|650Pts.,Wrench|700Pts.,Back") 		elseif button == 2 then 			menu(id,"Equipment,HE|5Pts.,Molotov Cocktail|15Pts.,Gas Grenade|30Pts.,Speed|50Pts.,150 HP|100Pts.,Armor 50%|200Pts.,Air Strike|400Pts.,Back") 		elseif button == 3 then 			menu(id,"Special Stuff,Super Armor|450Pts.,Laser|600Pts.,Medic Armor|350Pts.,Tactical Shield|125Pts.,Stealth Suit|250Pts.,Back") 		end 		 	elseif title=="Weapons Page 1" then 		if button == 1 then 			if player(id,"money")>=15 then 				equip(id,23) 				parse("setmoney "..id.." "..(player(id,"money")-15)) 			end 		elseif button == 2 then 			if player(id,"money")>=30 then 				equip(id,11) 				parse("setmoney "..id.." "..(player(id,"money")-30)) 			end 		elseif button == 3 then 			if player(id,"money")>=60 then 				equip(id,30) 				parse("setmoney "..id.." "..(player(id,"money")-60)) 			end 		elseif button == 4 then 			if player(id,"money")>=120 then 				equip(id,22) 				parse("setmoney "..id.." "..(player(id,"money")-120)) 			end 		elseif button == 5 then 			if player(id,"money")>=200 then 				equip(id,48) 				parse("setmoney "..id.." "..(player(id,"money")-200)) 			end 		elseif button == 6 then 			if player(id,"money")>=600 then 				equip(id,69) 				parse("setmoney "..id.." "..(player(id,"money")-600)) 			end 		elseif button == 7 then 			if player(id,"money")>=650 then 				equip(id,78) 				parse("setmoney "..id.." "..(player(id,"money")-650)) 			end 		elseif button == 8 then 			if player(id,"money")>=700 then 				equip(id,74) 				parse("setmoney "..id.." "..(player(id,"money")-700)) 			end 		elseif button == 9 then 			shopmenu(id) 			 	elseif title=="Equipment" then 		if button == 1 then 			if player(id,"money")>=5 then 				equip(id,51) 				parse("setmoney "..id.." "..(player(id,"money")-5)) 			end 		elseif button == 2 then 			if player(id,"money")>=15 then 				equip(id,73) 				parse("setmoney "..id.." "..(player(id,"money")-15)) 			end 		elseif button == 3 then 			if player(id,"money")>=30 then 				equip(id,72) 				parse("setmoney "..id.." "..(player(id,"money")-30)) 			end 		elseif button == 4 then 			if player(id,"money")>=50 then 				parse("speedmod "..id.." "..player(id,"speedmod")+2) 				parse("setmoney "..id.." "..(player(id,"money")-50)) 			end 		elseif button == 5 then 			if player(id,"money")>=100 then 				setmaxhealth(id,150) 				parse("setmoney "..id.." "..(player(id,"money")-100)) 			end 		elseif button == 6 then 			if player(id,"money")>=200 then 				equip(id,80) 				parse("setmoney "..id.." "..(player(id,"money")-200)) 			end 		elseif button == 7 then 			if player(id,"money")>=400 then 				equip(id,76) 				parse("setmoney "..id.." "..(player(id,"money")-400)) 			end 			 		elseif button == 8 then 			shopmenu(id) 	elseif title=="Special Stuff" then 		if button == 1 then 			if player(id,"money")>=450 then 				equip(id,83) 				parse("setmoney "..id.." "..(player(id,"money")-450)) 			end 		elseif button == 2 then 			if player(id,"money")>=600 then 				equip(id,45) 				parse("setmoney "..id.." "..(player(id,"money")-600)) 			end 		elseif button == 3 then 			if player(id,"money")>=350 then 				equip(id,82) 				parse("setmoney "..id.." "..(player(id,"money")-350)) 			end 		elseif button == 4 then 			if player(id,"money")>=125 then 				equip(id,41) 				parse("setmoney "..id.." "..(player(id,"money")-125)) 			end 		elseif button == 5 then 			if player(id,"money")>=250 then 				equip(id,84) 				parse("setmoney "..id.." "..(player(id,"money")-250)) 			end 		elseif button == 6 then 			shopmenu(id) 			 	elseif title=="Survivor Classes" then 		if button == 1 then 			parse("strip "..id) 			end 		elseif button == 2 then 			parse("strip "..id) 			equip(id,41) 			equip(id,39) 			equip(id,81) 			speedmod(id,-10) 			end 		elseif button == 3 then 			parse("strip "..id) 			equip(id,47) 			equip(id,81) 			speedmod(id,-20) 			end 		elseif button == 4 then 			parse("strip "..id) 			equip(id,32) 			equip(id,35) 			equip(id,10) 			equip(id,85) 			equip(id,5) 			speedmod(id,15) 			end 		elseif button == 5 then 			parse("strip "..id) 			setmaxhealth(id,1) 			equip(id,45) 			speedmod(id,-5) 		elseif button == 6 then 			parse("strip "..id) 			equip(id,88) 			equip(id,77) 			equip(id,87) 			speedmod(id,5) 			 	elseif title=="Zombie Classes" then 		if button == 1 then 			parse("strip "..id) 			end 		elseif button == 2 then 			parse("strip "..id) 			equip(id,84) 			equip(id,69) 			setmaxhealth(id,30) 		elseif button == 3 then 			parse("strip "..id) 			equip(id,47) 			equip(id,81) 			speedmod(id,-20) 			setmaxhealth(id,125) 		elseif button == 4 then 			parse("strip "..id) 			equip(id,46) 			equip(id,79) 			setmaxhealth(id,110) 		elseif button == 5 then 			parse("strip "..id) 			equip(id,85) 			speedmod(id,7) 			setmaxhealth(id,115) 		elseif button == 6 then 			parse("strip"..id) 			equip(id,21) 			setmaxhealth(id,50) 			speedmod(id,15) 			end 		end
edited 1×, last 26.12.11 01:26:25 am
Obronca has written
hi friends,
did you know the cZ CT survival iwant know that lua pls if anyone know comment back ok
did you know the cZ CT survival iwant know that lua pls if anyone know comment back ok
You didn't say please.
(BTW, why don't you ask Needles or ClashR? Their the admins there I think.)
Obronca has written
is that finish ?
Didn't i just say it wasn't finish it yourself, it is hard to make it im tired of all the error's in it
1