Jump to content

GUI Window Won't Show


iDevon

Recommended Posts

        ShopWindow = guiCreateWindow(331, 236, 340, 226, "Burger Shop", true) 
        guiSetAlpha(ShopWindow,225) 
        burgerBTN = guiCreateButton(24, 145, 69, 27, "Buy (50HP)", true, ShopWindow) 
        guiSetFont(burgerBTN, "default-bold-small") 
        BurgerIMG = guiCreateStaticImage(10, 45, 97, 90, "burger.png", true, ShopWindow) 
        FriesIMG = guiCreateStaticImage(234, 38, 80, 97, "fries.png", true, ShopWindow) 
        friesLBL = guiCreateLabel(10, 80, 77, 17, "Fries ($15)", true, FriesIMG) 
        guiSetFont(friesLBL, "default-bold-small") 
        burgerLBL = guiCreateLabel(24, 118, 79, 18, "Burger ($30)", true, ShopWindow) 
        guiSetFont(burgerLBL, "default-bold-small") 
        friesBTN = guiCreateButton(240, 145, 69, 27, "Buy (15HP)", true, ShopWindow) 
        guiSetFont(friesBTN, "default-bold-small") 
        hotdogIMG = guiCreateStaticImage(132, 46, 76, 85, "hotdog.png", true, ShopWindow) 
        hotdogLBL = guiCreateLabel(126, 118, 87, 17, "Hot Dog ($25)", true, ShopWindow) 
        guiSetFont(hotdogLBL, "default-bold-small") 
        hotdogBTN = guiCreateButton(132, 145, 69, 27, "Buy (25HP)", true, ShopWindow) 
        guiSetFont(hotdogBTN, "default-bold-small") 
        obviousLBL = guiCreateLabel(14, 189, 316, 27, "Purchasing any item on this list will refill your Health Points(HP) by the amount listed under each item. Each item will also cost the amount listed. ", true, ShopWindow) 
        guiLabelSetColor(obviousLBL, 24, 106, 22)     
        guiSetVisible(ShopWindow, true) 
  

My guicreateWindow script won't work, I tried another script with different attributes and it seemed to work just fine. Can someone tell me what's wrong with the current one I have?

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...