Vladimir5 Posted December 20, 2011 Posted December 20, 2011 Hi again:) Now I need gang-system gui. Please help me... I made only main page... addEventHandler("onClientResourceStart",resourceRoot, function() GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Scrollbar = {} GUIEditor_Window[1] = guiCreateWindow(796,284,418,310,"Gang-system V.0.0.1",false) GUIEditor_Button[1] = guiCreateButton(11,256,109,30,"Join gang",false,GUIEditor_Window[1]) GUIEditor_Scrollbar[1] = guiCreateScrollBar(-165,-110,109,74,true,false,GUIEditor_Button[1]) GUIEditor_Edit[1] = guiCreateEdit(220,115,5,5,"",false,GUIEditor_Button[1]) GUIEditor_Checkbox[1] = guiCreateCheckBox(-571,-320,290,215,"",false,false,GUIEditor_Button[1]) GUIEditor_Button[2] = guiCreateButton(165,257,103,27,"Create gang",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[2],"clear-normal") GUIEditor_Button[3] = guiCreateButton(302,259,102,28,"Close",false,GUIEditor_Window[1]) GUIEditor_Edit[2] = guiCreateEdit(20,62,384,184,"There you can join/create gang!,",false,GUIEditor_Window[1]) GUIEditor_TabPanel[1] = guiCreateTabPanel(235,33,130,124,false,GUIEditor_Edit[2]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(0,0,124,122,"images/mtalogo.png",false,GUIEditor_Tab[1]) end )
Vladimir5 Posted December 20, 2011 Author Posted December 20, 2011 Please add to it open on command /creategang And help me add a new gui on click button Create gang and Join
Xeno Posted December 20, 2011 Posted December 20, 2011 function open() guiSetVisible(GUIEditor_Window[1] , true) showCursor(true) end addCommandHandler("open", open) That will make it so if you type /open it will open the GUI. Edit: Just saying, no one is going to do the other stuff for you, its just too much. If your looking at making an RPG server, I would seriously considering paying for a scripter, or learning to write LUA yourself.
JR10 Posted December 20, 2011 Posted December 20, 2011 We don't accept requests, we can help you with your code, but not make you one.
Xeno Posted December 20, 2011 Posted December 20, 2011 We don't accept requests, we can help you with your code, but not make you one. +1
JR10 Posted December 20, 2011 Posted December 20, 2011 Please add to it open on command /creategangAnd help me add a new gui on click button Create gang and Join He just made the GUI, and he's asking for help with the rest.
myonlake Posted December 20, 2011 Posted December 20, 2011 Please add to it open on command /creategangAnd help me add a new gui on click button Create gang and Join He just made the GUI, and he's asking for help with the rest. That's right, and with a GUI editor. How hard can that be? You need to make the events and functions yourself... GUI scripting is basically the easiest part in LUA.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now