Jump to content

خلل في الكلينت


Recommended Posts

السلام عليكم

عندي خلل في الكلينت ابغى تعديل لني صلحته الكود قعدت عليه ساعتين في اخر شي سويت عدم الحفظ ورح كل التعب عشان كذا ابغاكم تصلحونه

وبعدين انا توني مبتدأ ويبغا لي وقت اصلحه مرة ثانية

function Window ( ) 
addCommandHandler('cilent Control of bank robbery',) 
addEventHandler("onClientResourceStart",resourceRoot, 
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Scrollpane = {} 
GUIEditor_Scrollbar = {} 
  
GUIEditor_Window[1] = guiCreateWindow(381,223,606,123,"start bank rebbery now",false) 
GUIEditor_Button[1] = guiCreateButton(474,40,122,56,"set time bank robbery at 1 minute",false,GUIEditor_Window[1]) 
GUIEditor_Button[2] = guiCreateButton(345,40,128,57,"finish bank robbery no one win",false,GUIEditor_Window[1]) 
GUIEditor_Button[3] = guiCreateButton(216,40,128,57,"Bring All in bank",false,GUIEditor_Window[1]) 
GUIEditor_Button[4] = guiCreateButton(87,40,129,56,"all win ",false,GUIEditor_Window[1]) 
GUIEditor_Edit[1] = guiCreateEdit(349,442,5,0,"",false,GUIEditor_Window[1]) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(131,245,0,0,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) 
GUIEditor_TabPanel[2] = guiCreateTabPanel(48,50,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Tab[2] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
GUIEditor_Tab[3] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(9,3,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Scrollbar[1] = guiCreateScrollBar(594,113,3,1,true,false,GUIEditor_Window[1]) 
  
bindKey ( "F9", "down", Window ) 
  
  

Link to comment
السلام عليكم

عندي خلل في الكلينت ابغى تعديل لني صلحته الكود قعدت عليه ساعتين في اخر شي سويت عدم الحفظ ورح كل التعب عشان كذا ابغاكم تصلحونه

وبعدين انا توني مبتدأ ويبغا لي وقت اصلحه مرة ثانية

function Window ( ) 
addCommandHandler('cilent Control of bank robbery',) 
addEventHandler("onClientResourceStart",resourceRoot, 
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Scrollpane = {} 
GUIEditor_Scrollbar = {} 
  
GUIEditor_Window[1] = guiCreateWindow(381,223,606,123,"start bank rebbery now",false) 
GUIEditor_Button[1] = guiCreateButton(474,40,122,56,"set time bank robbery at 1 minute",false,GUIEditor_Window[1]) 
GUIEditor_Button[2] = guiCreateButton(345,40,128,57,"finish bank robbery no one win",false,GUIEditor_Window[1]) 
GUIEditor_Button[3] = guiCreateButton(216,40,128,57,"Bring All in bank",false,GUIEditor_Window[1]) 
GUIEditor_Button[4] = guiCreateButton(87,40,129,56,"all win ",false,GUIEditor_Window[1]) 
GUIEditor_Edit[1] = guiCreateEdit(349,442,5,0,"",false,GUIEditor_Window[1]) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(131,245,0,0,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) 
GUIEditor_TabPanel[2] = guiCreateTabPanel(48,50,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Tab[2] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
GUIEditor_Tab[3] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(9,3,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Scrollbar[1] = guiCreateScrollBar(594,113,3,1,true,false,GUIEditor_Window[1]) 
  
bindKey ( "F9", "down", Window ) 
  
  

نصلحه لك بس علمنا وشهو اسم الموقع !

  
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Scrollpane = {} 
GUIEditor_Scrollbar = {} 
  
GUIEditor_Window[1] = guiCreateWindow(381,223,606,123,"start bank rebbery now",false) 
GUIEditor_Button[1] = guiCreateButton(474,40,122,56,"set time bank robbery at 1 minute",false,GUIEditor_Window[1]) 
GUIEditor_Button[2] = guiCreateButton(345,40,128,57,"finish bank robbery no one win",false,GUIEditor_Window[1]) 
GUIEditor_Button[3] = guiCreateButton(216,40,128,57,"Bring All in bank",false,GUIEditor_Window[1]) 
GUIEditor_Button[4] = guiCreateButton(87,40,129,56,"all win ",false,GUIEditor_Window[1]) 
GUIEditor_Edit[1] = guiCreateEdit(349,442,5,0,"",false,GUIEditor_Window[1]) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(131,245,0,0,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) 
GUIEditor_TabPanel[2] = guiCreateTabPanel(48,50,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Tab[2] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
GUIEditor_Tab[3] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(9,3,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Scrollbar[1] = guiCreateScrollBar(594,113,3,1,true,false,GUIEditor_Window[1]) 
  
  
bindKey ( "F9" , "down" , function() 
if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
 guiSetVisible ( GUIEditor_Window[1] ,false ) 
 showCursor (false ) 
     else 
 guiSetVisible ( GUIEditor_Window[1] ,true ) 
 showCursor (true ) 
  
 end 
 end) 

Edited by Guest
Link to comment
  
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Scrollpane = {} 
GUIEditor_Scrollbar = {} 
  
GUIEditor_Window[1] = guiCreateWindow(381,223,606,123,"start bank rebbery now",false) 
GUIEditor_Button[1] = guiCreateButton(474,40,122,56,"set time bank robbery at 1 minute",false,GUIEditor_Window[1]) 
GUIEditor_Button[2] = guiCreateButton(345,40,128,57,"finish bank robbery no one win",false,GUIEditor_Window[1]) 
GUIEditor_Button[3] = guiCreateButton(216,40,128,57,"Bring All in bank",false,GUIEditor_Window[1]) 
GUIEditor_Button[4] = guiCreateButton(87,40,129,56,"all win ",false,GUIEditor_Window[1]) 
GUIEditor_Edit[1] = guiCreateEdit(349,442,5,0,"",false,GUIEditor_Window[1]) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(131,245,0,0,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab 1",GUIEditor_TabPanel[1]) 
GUIEditor_TabPanel[2] = guiCreateTabPanel(48,50,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Tab[2] = guiCreateTab("Tab 2",GUIEditor_TabPanel[2]) 
GUIEditor_Tab[3] = guiCreateTab("Tab 3",GUIEditor_TabPanel[2]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(9,3,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Scrollbar[1] = guiCreateScrollBar(594,113,3,1,true,false,GUIEditor_Window[1]) 
guiSetVisible( GUIEditor_Window[1], false ) 
  
function showGUI ( ) 
        if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
                guiSetVisible ( GUIEditor_Window[1], false ) 
                showCursor(false) 
        else 
                guiSetVisible ( GUIEditor_Window[1], true ) 
                showCursor(true) 
        end 
end 
bindKey ( "F2","down", showGUI ) 

Link to comment
  
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Scrollpane = {} 
GUIEditor_Scrollbar = {} 
  
GUIEditor_Window[1] = guiCreateWindow(381,223,606,123,"start bank rebbery now",false) 
GUIEditor_Button[1] = guiCreateButton(474,40,122,56,"set time bank robbery at 1 minute",false,GUIEditor_Window[1]) 
GUIEditor_Button[2] = guiCreateButton(345,40,128,57,"finish bank robbery no one win",false,GUIEditor_Window[1]) 
GUIEditor_Button[3] = guiCreateButton(216,40,128,57,"Bring All in bank",false,GUIEditor_Window[1]) 
GUIEditor_Button[4] = guiCreateButton(87,40,129,56,"all win ",false,GUIEditor_Window[1]) 
GUIEditor_Edit[1] = guiCreateEdit(349,442,5,0,"",false,GUIEditor_Window[1]) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(131,245,0,0,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab 1",GUIEditor_TabPanel[1]) 
GUIEditor_TabPanel[2] = guiCreateTabPanel(48,50,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Tab[2] = guiCreateTab("Tab 2",GUIEditor_TabPanel[2]) 
GUIEditor_Tab[3] = guiCreateTab("Tab 3",GUIEditor_TabPanel[2]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(9,3,5,5,false,GUIEditor_Window[1]) 
GUIEditor_Scrollbar[1] = guiCreateScrollBar(594,113,3,1,true,false,GUIEditor_Window[1]) 
guiSetVisible( GUIEditor_Window[1], false ) 
  
function showGUI ( ) 
        if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
                guiSetVisible ( GUIEditor_Window[1], false ) 
                showCursor(false) 
        else 
                guiSetVisible ( GUIEditor_Window[1], true ) 
                showCursor(true) 
        end 
end 
bindKey ( "F2","down", showGUI ) 

الصح

      
    GUIEditor_Window = {} 
    GUIEditor_TabPanel = {} 
    GUIEditor_Tab = {} 
    GUIEditor_Button = {} 
    GUIEditor_Edit = {} 
    GUIEditor_Scrollpane = {} 
    GUIEditor_Scrollbar = {} 
      
    GUIEditor_Window[1] = guiCreateWindow(381,223,606,123,"start bank rebbery now",false) 
    GUIEditor_Button[1] = guiCreateButton(474,40,122,56,"set time bank robbery at 1 minute",false,GUIEditor_Window[1]) 
    GUIEditor_Button[2] = guiCreateButton(345,40,128,57,"finish bank robbery no one win",false,GUIEditor_Window[1]) 
    GUIEditor_Button[3] = guiCreateButton(216,40,128,57,"Bring All in bank",false,GUIEditor_Window[1]) 
    GUIEditor_Button[4] = guiCreateButton(87,40,129,56,"all win ",false,GUIEditor_Window[1]) 
    GUIEditor_Edit[1] = guiCreateEdit(349,442,5,0,"",false,GUIEditor_Window[1]) 
    GUIEditor_TabPanel[1] = guiCreateTabPanel(131,245,0,0,false,GUIEditor_Window[1]) 
    GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) 
    GUIEditor_TabPanel[2] = guiCreateTabPanel(48,50,5,5,false,GUIEditor_Window[1]) 
    GUIEditor_Tab[2] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
    GUIEditor_Tab[3] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) 
    GUIEditor_Scrollpane[1] = guiCreateScrollPane(9,3,5,5,false,GUIEditor_Window[1]) 
    GUIEditor_Scrollbar[1] = guiCreateScrollBar(594,113,3,1,true,false,GUIEditor_Window[1]) 
    guiSetVisible( GUIEditor_Window[1] , false ) 
      
    bindKey ( "F9" , "down" , function() 
    if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
     guiSetVisible ( GUIEditor_Window[1] ,false ) 
     guiSetInputEnabled( false ) 
     showCursor (false ) 
    elseif ( guiSetVisible ( GUIEditor_Window[1] ) == false ) then 
     guiSetVisible( GUIEditor_Window[1], true ) 
     guiSetInputEnabled( false ) 
     showCursor (true ) 
      
     end 
     end) 

Edited by Guest
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...