General > Developers Corner

Adding a new custom xgui function

<< < (3/3)

easer7:
do i need to put it in another also to add it to xgui?

Stickly Man!:

--- Quote from: easer7 on December 02, 2012, 05:16:51 PM ---do i need to put it in another also to add it to xgui?

--- End quote ---


--- Code: ---local dlogs= ulx.command( "Utility", "ulx dlogs", ulx.dlogs, "!dlogs" ) -- Makes the command be called dlogs and puts it in the Utility category.
--- End code ---

Because of this line of code, your command should show up in the Commands tab in XGUI, under the "Utility" category automatically, provided it gets installed correctly and is working.

easer7:
thanks so much!

Navigation

[0] Message Index

[*] Previous page

Go to full version