edited 2×, last 23.12.11 07:27:25 pm
Forum
CS2D Scripts *Fixed**Fixed*
17 replies 1
1
2
3
2
3
elseif button == 3 then 	menu(id,"Special Stuff,Super Armor|450Pts.,Laser|600Pts.,Medic Armor|350Pts.,Tactical Shield|125Pts.,Stealth Suit|250Pts.,Back") end
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
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
if title=="Special Stuff" then 		if button == 1 then 			if player(id,"money")>=450 then 				equip(id,83) 				parse("setmoney "..id.." "..(player(id,"money")-450)) 			end 		elseif button == 2 then 			if player(id,"money")>=600 then 				equip(id,45) 				parse("setmoney "..id.." "..(player(id,"money")-600)) 			end 		elseif button == 3 then 			if player(id,"money")>=350 then 				equip(id,82) 				parse("setmoney "..id.." "..(player(id,"money")-350)) 			end 		elseif button == 4 then 			if player(id,"money")>=125 then 				equip(id,41) 				parse("setmoney "..id.." "..(player(id,"money")-125)) 			end 		elseif button == 5 then 			if player(id,"money")>=250 then 				equip(id,84) 				parse("setmoney "..id.." "..(player(id,"money")-250)) 			end 		elseif button == 6 then 			shopmenu(id) 			end 		end 	end end
1
2
3
2
3
elseif button == 2 then 						menu(id,"troll") 					 end
See?
1
2
3
2
3
function shopmenu(id) 	menu(id,"Shop,Weapons,Equipment,Next") end
1
menu(id,"Shop,Weapons,Equipment,Special")
1
addhook("serveraction","nico")
But Five i want people to walk to the use button and press it instead of buying it quickly, to make it harder.
Anyone know the problem?
edited 1×, last 23.12.11 07:07:09 pm
1