English [EngiN33R] UniMenu icon

41 comments
14.04.12 11:02:35 am
like 31 like it!
2 kb, 529 Downloads
EngiN33R
Moderator
Offline Off
This is a universal utility script, which allows you to easily create multi-page menus and assign any functions to their buttons. Menus can be created both out of the 'menus' table and dynamically, to allow for changing variables. The documentation is quite extensive and exhaustive, so it should answer most of the how-to questions.

Documentation >


Leave feedback and report bugs, should any be found.
imageimage
ok This file has been reviewed and approved by Seekay (04.12.15 02:35:36 am)

Comments

41 comments
Goto Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in
21.10.16 07:35:35 pm
like I like it!
Up
kerker
User
Offline Off
Hmm. Nice!
19.10.16 12:24:38 am
like I like it!
Up
Mami Tomoe
User
Offline Off
Useful!
22.08.16 07:23:03 pm
like I like it!
Up
Gaios
Security Supporter
Offline Off
thanks
05.09.15 09:57:06 pm
like I like it!
Up
VADemon
User
Offline Off
As of version 2.0 use this code to test UniMenu:
Code:
1
2
3
4
5
6
7
8
addhook("say", "asay")
function asay(id, txt)
     if txt == "uni_old" then
          unimenu(id, true, "example_menu_old", 1)
     elseif txt == "uni_new" then
          unimenu(id, true, "example_menu_new", 1)
     end
end

Commands:
• uni_old
• uni_new
07.05.15 04:51:08 am
like I like it!
Up
Louie
User
Offline Off
Thx, its very useful.
02.12.14 06:16:03 am
like I like it!
Up
Raaj Nadar
User
Offline Off
Cool i am going to use in my admin script going to compact my script alot.
07.09.12 01:19:24 pm
Up
M_
User
Offline Off
I did something like this before, with a var controling the page, but that is a nice idea to make infinite menus, since this is hard and take your time to make.
04.09.12 02:35:27 pm
like I like it!
Up
AtomKuh
User
Offline Off
user iBRhackCsD2servr has written:
Engi33R can only make good scripts we dont say him he know this .
All scripts who he make was good . Some with little bugs xd .


And you're a hacker
27.08.12 03:28:20 pm
like I like it!
Up
iBRhackCsD2servr
BANNED
Offline Off
Engi33R can only make good scripts we dont say him he know this .
All scripts who he make was good . Some with little bugs xd .
22.08.12 05:28:21 pm
like I like it!
Up
AtomKuh
User
Offline Off
Great Work :p
30.07.12 08:13:18 am
like I like it!
Up
DevGru
User
Offline Off
@user _MARKOS_: Your asshole.

File: Not bad, pretty good.
30.07.12 08:08:17 am
like I like it!
Up
Ahmad
User
Offline Off
Helpfull.
30.07.12 05:53:02 am
like I like it!
Up
SmD
User
Offline Off
nice!
30.07.12 04:09:14 am
like I like it!
Up
VADemon
User
Offline Off
Good framework
28.07.12 07:26:50 pm
like I like it!
Up
RedizGaming
GAME BANNED
Offline Off
God Script
Ewsome
5/5
I Like It!
√
08.06.12 08:55:50 am
like I like it!
Up
Dead men
BANNED
Offline Off
Great
08.06.12 08:47:35 am
Up
EngiN33R
Moderator
Offline Off
user EngiN33R has written:
Menus are opened by means of the unimenu function. It has the following arguments:
<snip>


If you want to open a menu that is in the menu table with the index 2 by pressing F4,

Code:
1
2
3
4
5
6
addhook("serveraction","openmenutwo")
function openmenutwo(id,a)
     if a==3 then
          unimenu(id,true,2,1)
     end
end
07.06.12 07:31:27 pm
like I like it!
Up
robed
User
Offline Off
how do you open menu? do you write something on the say chat
?
21.04.12 04:07:40 pm
Up
_MARKOS_
BANNED
Offline Off
what mod?
21.04.12 12:46:09 pm
Up
EngiN33R
Moderator
Offline Off
If you're using a menu that is specified in the menus table, you can just enter that menu's index in the menus table, so it would be something like
Code:
1
unimenu(id,true,1,1)


Try that.

Also, thank you everyone for the comments. It's nice to hear your scripts make other people's lives easier.
To the start Previous 1 2 3 Next To the start