Dateien

> > CS2D > Lua Scripts > [EngiN33R] UniMenu
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [EngiN33R] UniMenu >

41 Kommentare2 kb, 910 Downloads

alt [EngiN33R] UniMenu

EngiN33R
Moderator Off Offline

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.
Zugelassen von Seekay

Download Download

2 kb, 910 Downloads

Kommentare

41 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

kerker
User Off Offline

Hmm. Nice!
Ich mag es!

alt

Mami Tomoe
User Off Offline

Useful!
Ich mag es!

alt

Gaios
Reviewer Off Offline

thanks
Ich mag es!

alt

VADemon
User Off Offline

As of version 2.0 use this code to test UniMenu:
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
Ich mag es!

alt

Louie
User Off Offline

Thx, its very useful.
Ich mag es!

alt

Raaj Nadar
User Off Offline

Cool i am going to use in my admin script going to compact my script alot.
Ich mag es!

alt

mozilla1
User Off Offline

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.

alt hu!?

AtomKuh
User Off Offline

user iBRhackCsD2servr hat geschrieben
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
Ich mag es!

alt Mod/luas

iBRhackCsD2servr
BANNED Off Offline

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 .
Ich mag es!

alt

AtomKuh
User Off Offline

Great Work :p
Ich mag es!

alt

DevGru
User Off Offline

@user _MARKOS_: Your asshole.

File: Not bad, pretty good.
Ich mag es!

alt

Ahmad
User Off Offline

Helpfull.
Ich mag es!

alt

SmD
User Off Offline

nice!
Ich mag es!

alt

VADemon
User Off Offline

Good framework
Ich mag es!

alt

RedizGaming
GAME BANNED Off Offline

God Script
Ewsome
5/5
I Like It!
√
Ich mag es!

alt

Dead men
BANNED Off Offline

Great
Ich mag es!

alt

EngiN33R
Moderator Off Offline

user EngiN33R hat geschrieben
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,

1
2
3
4
5
6
addhook("serveraction","openmenutwo")
function openmenutwo(id,a)
	if a==3 then
		unimenu(id,true,2,1)
	end
end

alt

robed
User Off Offline

how do you open menu? do you write something on the say chat
?
Ich mag es!

alt

_MARKOS_
BANNED Off Offline

what mod?

alt

EngiN33R
Moderator Off Offline

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
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.
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang