Files

> > CS2D > Lua Scripts > [LUA] The CS2D Dynamic Menu Library (Y.A.T.E.S)
Files overviewCS2D overviewLua Scripts overview

English [LUA] The CS2D Dynamic Menu Library (Y.A.T.E.S) >

14 comments13 kb, 524 Downloads

old [LUA] The CS2D Dynamic Menu Library (Y.A.T.E.S)

Nekomata
User Off Offline

The CS2D Dynamic Menu Library (TCDML for short) is what you'd expect it to be. With the table structure and parsing being based on user EngiN33R & user VADemon's unimenu, it provides many functions for your full control over the menu(s).
It's been tested and works great with Inventory Menus or any type of menu that is dynamic and requires rapid updates to its contents. TCDML is still stable and working as any other menu script but I plan to add more functionality.

If you want to have a quick look at how TCDML works, check out the example directory!

What's new in 1.3.0.0?
• Version format change
• Made README.md more easier to navigate
• Added an example directory filled with some common usage examples and scripts
• Fixed documentation errors
• Added Y.A.T.E.S. plugin support!
• Added more configuration options
• Error and Debug Log Prints are colored in the console
• dmenu:switchButton is renamed to dmenu:setButtonState
• Added moar functions
     • dmenu:setButtonName
     • dmenu:setButtonDescription
     • dmenu:setButtonFunction
     • dmenu:getButtonPropertyByButtonNameMatch(id, menuName, buttonNameMatch) (This supports regex matching!)
     • dmenu:getPlayerMenuCount(id)
     • dmenu:playerMenuObjectExists(id)
     • dmenu:isEmpty(id, menuName)
Read more at the docs!


Features
• Dynamic
• Your full control
• Colorful Logging
• Pagination
• Configuration

Installation >



Documentation

View Code
Code Examples


The almost linear screenshots below are the product of the example code
edited 10×, last 15.04.17 07:44:23 pm
Approved by Infinite Rain

Download Download

13 kb, 524 Downloads

Comments

14 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Nekomata
User Off Offline

Hey copy,
I've forgotten to upload the new version of dmenu here. Sorry about that!
You can get the latest version from here: https://github.com/irfan-dahir/the-cs2d-dynamic-menu-library

Extract it, rename to 'dmenu' and drop it in the plugins folder.

You'll now be able to use dmenu in any other plugin.

If anyone has issues with installing or using, drop me a PM.

Edit; I've updated the file here as well.

old

copy
User Off Offline

hey com ,
would you mind to leave a simple statement how to run that example code as it just dont worked 4me with my poor knowledge
i downloaded the file extract them to plugins but it doesnt work and the more i read in the descriptions the more confusion stays.
as i understand it from all users it is very simple... well hopefully a 1.2.step can help me?
greez copy

[Y.A.T.E.S]: Uh-oh! The file 'sys/lua/_yates/plugins/dmenu-0.2/startup.lua' could not be found or opened!

wow i got the examplemenu
but only without yates adminscript
when the adminscripts also gets involved it wont work4me
any ideas?
btw: there is no startup file in the dmenu folder , as i saw such a file in all other plugins (emoticons/bad words)
edited 2×, last 07.04.17 06:29:03 pm

old

Nekomata
User Off Offline

@user Gaios: It's a different method of approaching the menu structure. Unimenu is more user friendly whereas TCDML gives you more control. It requires you to properly operate it using the docs available over at the github page and in return it gives you a dynamic menu that you have complete control over.

It's a question of preferability.

old

Gaios
Reviewer Off Offline

Is it better than unimenu?
I like it!

old

Gaios
Reviewer Off Offline

OOP Unimenu. Not bad.
I like it!

old

Nekomata
User Off Offline

Thanks guys.

old

sonkii
User Off Offline

Good job mate
I like it!

old

Dousea
User Off Offline

Pretty impressive. Really dynamic, I'm in full control, just like in the description. I'm not going to use it anyway, but great job. Deserves a like.
I like it!

old

Baloon
GAME BANNED Off Offline

Of course, you deserves like from me. I am looking for this file, good job btw.
I like it!

old

Waldin
User Off Offline

Nice file, waiting for new update (for the new stuff not in archive)

@user G3tWr3ck3d: The "Third Menu" is just an example, like the others.
I like it!

old

Yates
Reviewer Off Offline

Looks like shit 10/10

Awesome. Keep up the good stuff.
I like it!

old

G3tWr3ck3d
User Off Offline

Looks nice, whats the Third Menu for?
I like it!

old

Mami Tomoe
User Off Offline

I like Lua! (not really)
I like it!
To the start Previous 1 Next To the start