i have 5 .lua
1 - panzer.lua
2 - maus.lua ...
when i run CS2D !maus text work him (speed , equip .. )
but orther 'say' NO
this is my script :
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
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
addhook("say","spawn5") function spawn5(id,txt) 	if(txt=="!panzer") then freeimage(id) parse("speedmod "..id.." 14") 		parse("equip "..id.." "..47) 		parse("setmaxhealth "..id.." "..120) 		parse("setarmor "..id.." "..160) 		parse([[mp_wpndmg "RPG Launcher" 70]] ) id1=image("gfx/Worldoftanks/panzer.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=="!nothing") then 	 parse("speedmod "..id.." 0") 		parse("strip "..id.." "..47) 		parse("setmaxhealth "..id.." "..100) 		parse("setarmor "..id.." "..0) freeimage(id) id1=image("gfx/flare2.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 addhook("say","spawn5") function spawn5(id,txt) 	if(txt=="!tiger") then freeimage(id) parse("speedmod "..id.." 14") 		parse("equip "..id.." "..47) 		parse("setmaxhealth "..id.." "..122) 		parse("setarmor "..id.." "..160) 		parse([[mp_wpndmg "RPG Launcher" 70]] ) id1=image("gfx/Worldoftanks/tiger.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=="!nothing") then 	 parse("speedmod "..id.." 0") 		parse("strip "..id.." "..47) 		parse("setmaxhealth "..id.." "..100) 		parse("setarmor "..id.." "..0) freeimage(id) id1=image("gfx/flare2.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 addhook("say","spawn5") function spawn5(id,txt) 	if(txt=="!maus") then freeimage(id) parse("speedmod "..id.." 4") 		parse("equip "..id.." "..47) 		parse("setmaxhealth "..id.." "..250) 		parse("setarmor "..id.." "..250) 		parse([[mp_wpndmg "RPG Launcher" 200]] ) id1=image("gfx/Worldoftanks/maus.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=="!nothing") then 	 parse("speedmod "..id.." 0") 		parse("strip "..id.." "..47) 		parse("setmaxhealth "..id.." "..100) 		parse("setarmor "..id.." "..0) freeimage(id) id1=image("gfx/flare2.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
then the txt !maus work but orther like !panzer ... no work can i have help ..
edited 1×, last 17.06.13 12:13:13 am