More
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
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
------ usgn puting ------- adminlist={91244} ---- hooks ----- addhook("startround","showscores") addhook("spawn","spawnid") addhook("join","joinid") addhook("objectkill","objectkillid") addhook("leave","leaveid") addhook("minute","minutevalue") addhook("serveraction","serveractionid") addhook("say","admin_say") addhook("kill","killid") addhook("ms100","save_hud") addhook("projectile","_projectile") addhook("say","admin_say") ----- functions ----- function spawnid(id) msg("©25525525 [Info] ©100100100"..player(id,"name").." has spawned") end function joinid(id) msg("©25525525 [Info]©100100100"..player(id,"name").." Joined The Game Have Fun! ") end function objectkillid(objid, id) msg("\169200000000Build ©255255255 "..objid.." Destroyed by ID ©100240600: "..id.." ") end function leaveid(id,reason) msg("\169200000000 "..player(id,"name").." left the game ! ") end function minutevalue() msg("\169200000000Thanks,to playing i hope you like it") end function showscores() parse("hudtxt 1 \"©255000000T Score:"..game("score_t").."\" 200 5") parse("hudtxt 2 \"©000000255CT Score:"..game("score_ct").."\" 400 5") end showscores() 	 	 	function admin_say(id,txt) 	for _,usgn in pairs(adminlist) do 	 if (player(id,"usgn")==usgn) then 		if (string.sub(txt,1,4)=="!ban") then 		local target = string.sub(txt,5,7) 		parse("banip "..target) 		parse("banusgn "..target) 		parse("banname "..target) 		return 1; 		else 			 		if(string.sub(txt,1,5)=="!kick") then local target = string.sub(txt,7,8) 		 parse("kick "..target) 		 msg("©25525525 [Info]©100100100"..player(id,"name").." used kick cmd at ID : "..target.." ") 		 return 1; 		 else 		 if (string.sub(txt,1,5)=="!slap") then 		 local target= string.sub(txt,7,8) 		 parse("slap "..target) 	 msg("©25525525 [Info]©100100100"..player(id,"name").." used slap cmd at ID : "..target.." ") 		 return 1; 	 else 		 if (string.sub(txt,1,3)=="!ct") then 		 local target = string.sub(txt,4,7) 		 parse("makect "..target) 		 msg("©25525525 [Info]©100100100"..player(id,"name").." used make CT cmd at ID : "..target.." ") 		 return 1; 	 else 		 if (string.sub(txt,1,2)=="!t") then 		 local target = string.sub(txt,3,7) 		 parse("maket "..target) 		 msg("©25525525 [Info]©100100100"..player(id,"name").." used make T cmd at ID : "..target.." ") return 1; 	 else 		if (txt=="!rr") then 		parse("restartround") 	 return 1; 		else 		if (string.sub(txt,1,4)=="!spc") then 		local target = string.sub(txt,5,7) 		parse("makespec "..target) 		msg("©25525525 [Info]©100100100"..player(id,"name").." used make SPEC cmd at ID : "..target.." ") 		return 1; 		else 		if (string.sub(txt,1,5)=="!kill") then 		local target = string.sub(txt,6,7) 		parse("killplayer "..target) 		msg("©25525525 [Info]©100100100"..player(id,"name").." used make Killplayer cmd at ID : "..target.." ") 		return 1; 		else 		if (string.sub(txt,1,6)=="!bring") then local x = player(id,"x") local y = player(id,"y") parse("setpos "..string.sub(txt,8,string.len(txt)).." "..x.." "..y) return 1; 		 else 		 if (string.sub(txt,1,5)=="!goto") then local x = player(string.sub(txt,7,string.len(txt)),"x") local y = player(string.sub(txt,7,string.len(txt)),"y") parse("setpos "..id.." "..x.." "..y) 		 return 1; 	 else 		 if(string.sub(txt,1,5) =="!usgn") then local target = string.sub(txt, 6) msg2(id, "\169000204102[USGN]: \169240240240"..player(target, "usgn")) return 1; 	 else 		 if (string.sub(txt,1,5)=="!name") then 		 local target = string.sub(txt,6,7) 		 parse("setname "..target) 		 return 1; 		 else 		msg("©200000000"..player(id,"name").."©255255255 [©255128000O©255255255w©100100100n©255000255e©86230000 r] ©255255200 "..txt) 	 	 return 1 	 	end 	end 	end 	end 	end 	end 	end	 	end 	end	 	end 	end	 	end 	end	 	end	 	end 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 ------------- no build limit ------------- parse('mp_building_limit "dispenser" 99999') parse('mp_building_limit "turret" 99999') parse('mp_building_limit "supply" 99999') parse('mp_building_limit "gate field" 99999') parse('mp_building_limit "wall I" 99999') parse('mp_building_limit "wall II" 99999') parse('mp_building_limit "wall III" 99999') parse('mp_building_limit "barbed wire" 99999') parse('mp_building_limit "Barricade" 99999') parse('mp_building_limit "teleporter exit" 99999') parse('mp_building_limit "teleporter entrance" 99999') -----------No price building------- parse('mp_building_price "dispenser" 0') parse('mp_building_price "turret" 0') parse('mp_building_price "supply" 0') parse('mp_building_price "gate field" 0') parse('mp_building_price "wall I" 0') parse('mp_building_price "wall II" 0') parse('mp_building_price "wall III" 0') parse('mp_building_price "barbed wire" 0') parse('mp_building_price "Barricade" 0') parse('mp_building_price "teleporter exit" 0') parse('mp_building_price "teleporter entrance" 0') ------------------------------------------- function killid(killer, victim, wpn, x, y) msg("©25525525 [Info] ©100100100"..killer.." had kill "..victim.." with "..item(id,type).." ") end -------------------------------------------------- function save_hud() for id = 1,32 do if (player(id,"exists")) then parse('hudtxt2 '..id..' 48 "©000100255Score: '..player(id,"score")..' " 13 117') 			 parse('hudtxt2 '..id..' 49 "©000100255Deaths: '..player(id,"deaths")..' " 13 129') 			 end end end 	 ------------------------------------------------ function _projectile(id,wpn,x,y) 	if wpn == 54 then 		for i = 1, 5 do 			firework(x,y) 		end 	end end function firework(x,y) 	local a1=math.random(0,9999) 	local a2=math.random(0,9999) 	local a3=math.random(0,9999) 	local a4=math.random(0,9999) 	local a5=math.random(0,9999) 	local a6=math.random(0,9999) 	local a7=math.random(0,9999) 	local a8=math.random(0,9999) 	local a9=math.random(0,9999) 	local a10=math.random(0,9999) 	local xx=math.random(-25,25) 	local yy=math.random(-25,25) 	parse('effect "flare" '..(x-xx)..' '..(y-yy)..' 90 90 '..a1..''..a2..''..a3..' '..a4..''..a5..''..a6..' '..a7..''..a8..''..a9..' '..a10) 	parse('effect "flare" '..(x-xx)..' '..(y-yy)..' 90 90 '..a1..''..a2..''..a3..' '..a4..''..a5..''..a6..' '..a7..''..a8..''..a9..' '..a10) end
look screenshot