Jump to content

Need help !!


Mark0

Recommended Posts

Posted

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 ) 
  

Posted

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.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Copy my code again.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

My code will hide the window after being created.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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