Forum
CS2D Scripts I search this luaI search this lua
7 Antworten 1
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
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
addhook("always","_always") addhook("clientdata","_clientdata") addhook("attack","_attack") addhook("menu","_menu") mouse={} function _always() 	reqcld(0,0) end function _clientdata(id,mode,data1,data2) 	if mode==0 then 		mouse[id]={data1,data2} 	end end function _attack(id) 	if mouse[id][d1]>0 and mouse[id][1]<300 then 		if mouse[id][2]>0 and mouse[id][2]<300 then 			menu(id,"My Menu,Button 1,Button 2") 		end 	end end function _menu(id,title,button) 	if title=="My Menu" then 		if button==1 then 			msg2(id,"You pressed button 1.") 		elseif button==2 then 			msg2(id,"You pressed button 2.") 		elseif button==0 then 			msg2(id,"You pressed cancel.") 		end 	end end
Engin33r??Katemire(have bug)??
1× editiert, zuletzt 19.04.12 19:48:38
Trali hat geschrieben
Where is Lua Makers?
Engin33r??Katemire(have bug)??
Engin33r??Katemire(have bug)??
You're making no sense.
krabob hat geschrieben
Like he ever does.
1