Jump to content

Close Topic Fixed


mint3d

Recommended Posts

Posted (edited)

ok so i made this script but how it doesn't seem to close when they login

local myWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true )   
local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow )       
local tabScript = guiCreateTab( "Script Information", tabPanel )                
local tabStaff = guiCreateTab( "Staff", tabPanel )                          
  
  
guiCreateLabel(0.02, 0.04, 0.94, 0.2, "These scripts have been edited and have new custom systems.", true, tabScript) 
guiCreateLabel(0.02, 0.04, 0.94, 0.92, "Owner - Lewis White.\nCo-Owner - Bob Falcon\nHead Admins - None\nLead Admins - None\nSuper Admins - None\nAdmins - Brian James\nTrial Admins - James Bullet, Jack Granger", true, tabStaff) 
  

Edited by Guest
Posted

:!: TRY THIS:

local myWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true )   
local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow )       
local tabScript = guiCreateTab( "Script Information", tabPanel )               
local tabStaff = guiCreateTab( "Staff", tabPanel )                         
  
  
guiCreateLabel(0.02, 0.04, 0.94, 0.2, "These scripts have been edited and have new custom systems.", true, tabScript) 
guiCreateLabel(0.02, 0.04, 0.94, 0.92, "Owner - Lewis White.\nCo-Owner - Bob Falcon\nHead Admins - None\nLead Admins - None\nSuper Admins - None\nAdmins - Brian James\nTrial Admins - James Bullet, Jack Granger", true, tabStaff) 
  
function closemyWindow () 
    guiSetVisible (myWindow, false) 
end 
addEventHandler("onClientPlayerSpawn", getRootElement(), closemyWindow) 
  

Posted

It shows up when they join but stays up when they login i need it to disappear when login

would i use a server side with somthing like this

addEventHandler("onPlayerLogin", root, 
  function() 
  end 
) 

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