Tete omar Posted May 20, 2012 Share Posted May 20, 2012 GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(167,128,949,523,"Chats",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(32,39,893,460,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Help",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[1]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[2] = guiCreateTab("Main",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[2]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[2]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[3] = guiCreateTab("Arabic",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[3]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[3]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[4] = guiCreateTab("Russian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[4]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[4]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[5] = guiCreateTab("Spanish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[5]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[5]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[6] = guiCreateTab("Turkish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[6]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[6]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[7] = guiCreateTab("French",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[7]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[7]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[8] = guiCreateTab("German",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[8]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[8]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[9] = guiCreateTab("Indian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[9]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[9]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[10] = guiCreateTab("Ireland",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[10]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[10]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[11] = guiCreateTab("Italian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[11]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[11]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[12] = guiCreateTab("Portuguese",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[12]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[12]) guiEditSetReadOnly(GUIEditor_Edit[2],true) guiSetVisible(GUIEditor_TabPanel[1], false) end ) end 1 more thing I want it as a chat window thanks guys : ) Link to comment
X-SHADOW Posted May 20, 2012 Share Posted May 20, 2012 GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(167,128,949,523,"Chats",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(32,39,893,460,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Help",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[1]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[2] = guiCreateTab("Main",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[2]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[2]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[3] = guiCreateTab("Arabic",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[3]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[3]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[4] = guiCreateTab("Russian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[4]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[4]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[5] = guiCreateTab("Spanish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[5]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[5]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[6] = guiCreateTab("Turkish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[6]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[6]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[7] = guiCreateTab("French",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[7]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[7]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[8] = guiCreateTab("German",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[8]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[8]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[9] = guiCreateTab("Indian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[9]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[9]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[10] = guiCreateTab("Ireland",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[10]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[10]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[11] = guiCreateTab("Italian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[11]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[11]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[12] = guiCreateTab("Portuguese",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[12]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[12]) guiEditSetReadOnly(GUIEditor_Edit[2],true) guiSetVisible(GUIEditor_TabPanel[1], false) function guiToggleVisible ( ) if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1], false ) else guiSetVisible ( GUIEditor_Window[1], true ) end end bindKey ( "F2", "down", guiToggleVisible ) By The Way You Have errors i have fixed it Link to comment
thomas.mitchell434 Posted May 20, 2012 Share Posted May 20, 2012 LOL u are using Gui edit to make that... Anyway GUI edit is fine to use but first you need to learn some basic lua mate. If you dont learn some basic lua you wont be able to do anything except a GUI. Anyway im not realy a scripter myself so I cant realy help you. I think you need to add this phrase in the end : bindKey ( "F2", "down", guiToggleVisible ) Link to comment
Tete omar Posted May 20, 2012 Author Share Posted May 20, 2012 LOL u are using Gui edit to make that... Anyway GUI edit is fine to use but first you need to learn some basic lua mate. If you dont learn some basic lua you wont be able to do anything except a GUI. Anyway im not realy a scripter myself so I cant realy help you. I think you need to add this phrase in the end : bindKey ( "F2", "down", guiToggleVisible ) Thanks 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