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
addhook("say","spawn5")
function spawn5(id,txt)
	if(txt=="!Scorpion") then
freeimage(id)
parse("speedmod "..id.." 5")
		parse("equip "..id.." "..47)
		parse("setmaxhealth "..id.." "..250)
		parse("setarmor "..id.." "..200)
		parse([[mp_wpndmg "RPG Launcher" 3000]] )
id1=image("gfx/xzone/scorpion.bmp",1,1,200+id)
imagescale(id1,1,1)
imageblend(id1,0)
imagealpha(id1,1.0)
if (player(id,"team") == 2) then
imagecolor(id1,255,255,255)
elseif (player(id,"team") == 1) then
imagecolor(id1,255,255,255)
end
	end
end
addhook("say","spawn2")
function spawn2(id,txt,p)
	if(txt=="!Notank") then
	 parse("speedmod "..id.." 0")
		parse("strip "..id.." "..47)
		parse("setmaxhealth "..id.." "..100)
		parse("setarmor "..id.." "..0)
freeimage(id)
id1=image("gfx/ct1.bmp",0,0,100+id)
imagescale(id1,1,1)
imageblend(id1,1)
imagealpha(id1,0.7)
if (player(id,"team") == 2) then
imagecolor(id1,0,0,0)
elseif (player(id,"team") == 1) then
imagecolor(id1,0,0,0)
end
	end
end
========================================