Tony Brand Posted November 20, 2018 Share Posted November 20, 2018 Hi guys i want to make a tabpanel and then change its background to a picture!also i need to show some labels on tabpanel! GUI.window[1] = guiCreateWindow((x - (xx * 829)) / 2, (y - (yy * 589)) / 2, xx * 829, yy * 589, "Police Panel", false) guiWindowSetSizable(GUI.window[1], false) GUI.staticimage[1] = guiCreateStaticImage(xx * 10, yy * 21, xx * 809, yy * 558, "10.png", false, GUI.window[1]) GUI.tabpanel[1] = guiCreateTabPanel(0, 0, xx * 809, yy * 558, false, GUI.staticimage[1]) GUI.tab[1] = guiCreateTab("Stats", GUI.tabpanel[1]) GUI.tab[2] = guiCreateTab("Criminals", GUI.tabpanel[1]) GUI.label[1] = guiCreateLabel(xx * 20, yy * 40, xx * 200, yy * 70, "Hello "..getPlayerName(localPlayer), false, GUI.tab[1]) GUI.label[2] = guiCreateLabel(xx * 20, yy * 80, xx * 400, yy * 70, "Rank: ", false, GUI.tab[1]) GUI.label[3] = guiCreateLabel(xx * 20, yy * 120, xx * 200, yy * 70, "ID: ", false, GUI.tab[1]) GUI.label[4] = guiCreateLabel(xx * 20, yy * 160, xx * 200, yy * 70, "Kills: ", false, GUI.tab[1]) i tried creating a staticimage after tabpanel but,result was :~! 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