mint3d Posted October 14, 2013 Share Posted October 14, 2013 (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 October 14, 2013 by Guest Link to comment
elmy2424 Posted October 14, 2013 Share Posted October 14, 2013 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) Link to comment
mint3d Posted October 14, 2013 Author Share Posted October 14, 2013 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 ) Link to comment
pa3ck Posted October 14, 2013 Share Posted October 14, 2013 If you want to use that on server side then trigger a client event and set the gui invisible. 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