Jump to content

Need help please


mint3d

Recommended Posts

I basically want to change it from onClientPlayerSpawn closemywindow to a timer of 2 mins

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
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 
  
local seconds = 120 
setTimer(closemyWindow,seconds*1000) 

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