Jump to content

Help with this GUI


Feche1320

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...