Turbe$Z Posted October 5, 2016 Share Posted October 5, 2016 like as skin, weapon...etc. panel, just guieditor. How?? Link to comment
Mr.Loki Posted October 5, 2016 Share Posted October 5, 2016 Can you be a bit more specific? Give an example. Link to comment
iPrestege Posted October 5, 2016 Share Posted October 5, 2016 Use freeroam gui classes . Link to comment
Turbe$Z Posted October 5, 2016 Author Share Posted October 5, 2016 1 hour ago, loki2143 said: Can you be a bit more specific? Give an example. for example: --------------------------- -- asd --------------------------- local GUIEditor = { button = {}, window = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(518, 358, 435, 223, "Teszt ablak", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.memo[1] = guiCreateMemo(11, 29, 414, 155, "Teszt memo", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.button[1] = guiCreateButton(11, 189, 414, 24, "Teszt gomb", false, GUIEditor.window[1]) guiSetVisible(GUIEditor.window[1], false) end ) {'btn', id='GUIEditor.window[1]', text='Teszt', window=GUIEditor.window[1], width=244}, but this doesn't working Link to comment
iPrestege Posted October 5, 2016 Share Posted October 5, 2016 From the freeroam : wndAnim = { 'wnd', text = 'Set animation', width = 250, x = -20, y = 0.3, controls = { { 'lst', id='animlist', width=230, height=290, columns={ {text='Animation', attr='name'} }, rows={xml='animations.xml', attrs={'name'}}, expandlastlevel=false, onitemdoubleclick=applyAnimation }, {'btn', id='set', onclick=applyAnimation}, {'btn', id='stop', onclick=stopAnimation}, {'btn', id='close', closeswindow=true} } } This is how to create a window in the freeroam . Link to comment
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