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
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
for pl = 1,32 do image[pl] = {x = 0,y = 0,id = 0} end addhook("say","air") function air(id,text) if (text=="I need help") then if player(id,"score") == 7 then if player(id,"deaths") <= 2 then msg2(id,"©000255000You recieved an Stealth Bomber") msg2(id,"©000255000press f2 to mark your objective") msg2(id,"©000255000Say ready to destroy your objective") end end end end addhook("serveraction","boom") function boom(id,action) if action == 1 then freeimage(img[id].i) local x,y = player(id,"x"),player(id,"y") img[id].i=image("gfx/weapons/bomb.bmp",x,y,0) img[id].x = x img[id].y = y end end addhook("say","ready") function ready(id,text) if(text=="ready") then parse([[explosion ]]..img[id].x..[[ ]]..img[id].y..[[ 20 100 ]]..id) end end