Jump to content

Need help !!


Mark0

Recommended Posts

what is Wrong plz

  
  
function startup() 
  
infoGui = guiCreateWindow(0.2463,0.0567,0.5913,0.68,"Information by Mark",false) 
guiSetAlpha(infoGui,1) 
guiWindowSetSizable(infoGui,false) 
guiWindowSetMovable(infoGui,true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,39,455,351,false,infoGui) 
GUIEditor_Tab[1] = guiCreateTab("Rules",infoGui) 
GUIEditor_Memo[1] = guiCreateMemo(6,8,442,313,"\n Rules",false,GUIEditor_Tab[1]) 
GUIEditor_Tab[2] = guiCreateTab("Information",infoGui) 
GUIEditor_Memo[2] = guiCreateMemo(6,8,442,313,"\n Information",false,GUIEditor_Tab[2]) 
  
end 
addEventHandler("onClientResourceStart", resourceRoot, startup) 
  
function Guishow() 
    if (guiGetVisible(infoGui)) then 
        showCursor(false) 
        guiSetVisible(infoGui,false) 
    else 
        showCursor(true) 
        guiSetVisible(infoGui,true) 
    end 
end 
bindKey ("F1", "down", Guishow ) 
  

Link to comment

You forgot to define the tables.

function startup ( ) 
GUIEditor_TabPanel = { } 
GUIEditor_Tab = { } 
GUIEditor_Memo = { } 
  
infoGui = guiCreateWindow(0.2463,0.0567,0.5913,0.68,"Information by Mark",false) 
guiSetAlpha(infoGui,1) 
guiWindowSetSizable(infoGui,false) 
guiWindowSetMovable(infoGui,true) 
guiSetVisible(infoGui,false) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,39,455,351,false,infoGui) 
GUIEditor_Tab[1] = guiCreateTab("Rules",infoGui) 
GUIEditor_Memo[1] = guiCreateMemo(6,8,442,313,"\n Rules",false,GUIEditor_Tab[1]) 
GUIEditor_Tab[2] = guiCreateTab("Information",infoGui) 
GUIEditor_Memo[2] = guiCreateMemo(6,8,442,313,"\n Information",false,GUIEditor_Tab[2]) 
end 
addEventHandler ( "onClientResourceStart", resourceRoot, startup ) 
  
function Guishow() 
    if (guiGetVisible(infoGui)) then 
        showCursor(false) 
        guiSetVisible(infoGui,false) 
    else 
        showCursor(true) 
        guiSetVisible(infoGui,true) 
    end 
end 
bindKey ("F1", "down", Guishow ) 

GUIEditor_TabPanel = { } 
GUIEditor_Tab = { } 
GUIEditor_Memo = { } 

These.

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