Feche1320 Posted January 2, 2011 Share Posted January 2, 2011 This makes to tabs to be one in front of the other: UserP = guiCreateWindow(0.10, 0.15, 0.8, 0.7, getPlayerName(player).. "'s user panel:", true) Shop = guiCreateTabPanel(0.02, 0.13, 1, 0.8, true, UserP) ShopTab = guiCreateTab("Shop", Shop) Stats = guiCreateTabPanel(0.02, 0.13, 1, 0.8, true, UserP) StatsTab = guiCreateTab("Stats", Stats) I don't see the problem. Thanks Link to comment
Castillo Posted January 2, 2011 Share Posted January 2, 2011 You are creating 1 tab panel for every tab o_O why you think its called "tab panel"? you have to create only ONE then add the tabs. UserP = guiCreateWindow(0.10, 0.15, 0.8, 0.7, getPlayerName(player).. "'s user panel:", true) tabPanel = guiCreateTabPanel(0.02, 0.13, 1, 0.8, true, UserP) ShopTab = guiCreateTab("Shop", tabPanel) StatsTab = guiCreateTab("Stats", tabPanel) Link to comment
Feche1320 Posted January 2, 2011 Author Share Posted January 2, 2011 Ah LOL I didn't know (another rthing that I learned today ), thanks again 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