My buy menu doesn't work
8 replies
1

02.06.12 10:46:10 pm
i want to make a menu with some items and if you say !weapons the menu appears but when i launch the game it leaves.
I need help pliz!
sorry for my bad english
here's the script:
(is my first script for cs2d)
I need help pliz!
sorry for my bad english
here's the script:
Code:
1
2
3
4
2
3
4
addhook("say","command")
function command(id,!weapons)
menu(1,"Custom Buy Menu,Item 1|$5,Item 2|$50,(Item 3|$999999),Item 4|$0")
end
function command(id,!weapons)
menu(1,"Custom Buy Menu,Item 1|$5,Item 2|$50,(Item 3|$999999),Item 4|$0")
end
(is my first script for cs2d)
im not scripter but here your go(I think)
Code:
1
2
3
4
5
6
2
3
4
5
6
addhook("say","command")
function command(id,txt)
if txt="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
function command(id,txt)
if txt="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
o.-
Code:
1
2
3
4
5
6
2
3
4
5
6
addhook("say","command")
function command(id,txt)
if txt="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
function command(id,txt)
if txt="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
I'm a scripter and I say it's good.
BOLT_PL U FAILED
(Expected near = blablabla)
(Expected near = blablabla)Code:
hehe winner 1
2
3
4
5
6
2
3
4
5
6
addhook("say","command")
function command(id,txt)
if txt=="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
function command(id,txt)
if txt=="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
Bolt has written:Code:
1
2
3
4
5
6
2
3
4
5
6
addhook("say","command")
function command(id,txt)
if txt="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
function command(id,txt)
if txt="!weapons" then
menu(id,"Custom Buy Menu,Item 1|$5,Item 2|$50,Item 3|$999999,Item 4|$0")
end
end
I'm a scripter and I say it's good.

what ?
your code, and blaistring and all , is equal...
Que se Realize, oque sempre sonhei, que se Torne verdade, oque Maginei, só então saberei..., que não errei, quanto a ti olhar, eu Amei (8)
Code:
1
2
3
4
5
6
2
3
4
5
6
addhook("say","command")
function command(id,cmd)
if cmd=="!weapon" then
menu(1,"Custom Buy Menu,Item 1|$5,Item 2|$50 (Item3|$999999),Item 4|$0")
end
end
function command(id,cmd)
if cmd=="!weapon" then
menu(1,"Custom Buy Menu,Item 1|$5,Item 2|$50 (Item3|$999999),Item 4|$0")
end
end
@
Devil-Thanh: There is no diffrence between yours and what
EP and I said.
Devil-Thanh: There is no diffrence between yours and what
EP and I said.
1








My buy menu doesn't work
