Forum

> > CS2D > Scripts > Menu not work
Forums overviewCS2D overview Scripts overviewLog in to reply

English Menu not work

3 replies
To the start Previous 1 Next To the start

old Menu not work

Eternal
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
addhook("serveraction","server")
function server(id,a)
if a == 1 then
menu(id,"TEST@b,TEST")
if a == 2 then
menu(id,"TEST@b,TEST")
end
end
end

When i press F3 , it not show menu
Can someone help me?

old Re: Menu not work

EngiN33R
Moderator Off Offline

Quote
1
2
3
4
5
6
7
8
9
addhook("serveraction","server")
function server(id,a)
if a == 1 then
menu(id,"TEST@b,TEST")
end
if a == 2 then
menu(id,"TEST@b,TEST")
end
end

You messed up your ends.

old Re: Menu not work

Eternal
User Off Offline

Quote
user EngiN33R has written
1
2
3
4
5
6
7
8
9
addhook("serveraction","server")
function server(id,a)
if a == 1 then
menu(id,"TEST@b,TEST")
end
if a == 2 then
menu(id,"TEST@b,TEST")
end
end

You messed up your ends.


Oh , Thank you Engin33R

EDIT : I have another problems
this is ploblems , message doesn't show when i am not a member , vip , mod, super mod

sry for my english

CODE :

Spoiler >
edited 2×, last 16.04.12 05:58:06 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview