Jump to content

طلب من محترفين البرمجه


Mr.ToP

Recommended Posts

السسلام عليككم ورحمة الله وبرككاته ..

اخباركم شباب ..

اليوم بسسوي ششوب ..

سويت صصفحتين وضضبطت فيها ششويات ..

لاكن يوم رككبت المود ما اششوف الصوور ..

ع العموم هذي الاكواد

GUIEditor_TabPanel = {} 
GUIEditor_Image = {} 
GUIEditor_Scrollpane = {} 
  
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false) 
guiSetVisible (shopWindow, false) 
guiWindowSetSizable(shopWindow,false) 
guiWindowSetMovable(shopWindow,true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel) 
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1]) 
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel) 
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_1) 
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_2) 
  
  
bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( Shop_Panel ) == true ) then 
 guiSetVisible ( Shop_Panel ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Shop_Panel ) == false ) then 
 guiSetVisible ( Shop_Panel ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
  
 end 
 end 
 ) 
  

images طبعا انا سسويت مجلد اسسمه

وسويت ملف Meta

لاكن ما ادري من وين المششكلة

ابيكم تششوفون لي المششكلة وتصصلحونها وتططرحو الككود..

وششكرا

Link to comment

يوم تشغل الشوب مايطلع لك اول ماشتغله؟

GUIEditor_TabPanel = {} 
GUIEditor_Image = {} 
GUIEditor_Scrollpane = {} 
  
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false) 
guiSetVisible (Shop_Panel, false) 
guiWindowSetSizable(Shop_Panel,false) 
guiWindowSetMovable(Shop_Panel,true) 
  
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel) 
  
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1]) 
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_1) 
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1]) 
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_2) 
  
  
bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( Shop_Panel ) == true ) then 
 guiSetVisible ( Shop_Panel ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Shop_Panel ) == false ) then 
 guiSetVisible ( Shop_Panel ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
  
 end 
 end 
 ) 
  

Link to comment
    "YourName" name="Example" type="script" version="1.3" description="Example simple" /> 
    

يلا الحين كل بين صوره وصوره فراغ واكتب ارقم الصور

مثلا رقم االرشاش 3

تسوي كذا

    "YourName" name="Example" type="script" version="1.3" description="Example simple" /> 
    

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

وتاكد من ترتيب الارقام

وتاكد من اسم الملف

الى هو

images

انشاء الله تزبيط

Link to comment

الصصراحة شباب انا اول ما سسويته كذا

GUIEditor_TabPanel = {} 
GUIEditor_Image = {} 
GUIEditor_Scrollpane = {} 
  
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false) 
guiSetVisible (shopWindow, false) 
guiWindowSetSizable(shopWindow,false) 
guiWindowSetMovable(shopWindow,true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel) 
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1]) 
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel) 
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_Panel ) 
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_Panel ) 
  
  
bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( Shop_Panel ) == true ) then 
 guiSetVisible ( Shop_Panel ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Shop_Panel ) == false ) then 
 guiSetVisible ( Shop_Panel ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
  
 end 
 end 
 ) 
  

بس عدلت عليه صصار كذا

GUIEditor_TabPanel = {} 
GUIEditor_Image = {} 
GUIEditor_Scrollpane = {} 
  
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false) 
guiSetVisible (shopWindow, false) 
guiWindowSetSizable(shopWindow,false) 
guiWindowSetMovable(shopWindow,true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel) 
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1]) 
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel) 
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_1 ) 
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_2 ) 
  
  
bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( Shop_Panel ) == true ) then 
 guiSetVisible ( Shop_Panel ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Shop_Panel ) == false ) then 
 guiSetVisible ( Shop_Panel ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
 end 
 end 
 ) 
  

مدري المشكلة مني اول من نفسسه السسككربت وششكرا

Link to comment
الصصراحة شباب انا اول ما سسويته كذا

GUIEditor_TabPanel = {} 
GUIEditor_Image = {} 
GUIEditor_Scrollpane = {} 
  
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false) 
guiSetVisible (shopWindow, false) 
guiWindowSetSizable(shopWindow,false) 
guiWindowSetMovable(shopWindow,true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel) 
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1]) 
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel) 
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_Panel ) 
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_Panel ) 
  
  
bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( Shop_Panel ) == true ) then 
 guiSetVisible ( Shop_Panel ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Shop_Panel ) == false ) then 
 guiSetVisible ( Shop_Panel ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
  
 end 
 end 
 ) 
  

بس عدلت عليه صصار كذا

GUIEditor_TabPanel = {} 
GUIEditor_Image = {} 
GUIEditor_Scrollpane = {} 
  
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false) 
guiSetVisible (shopWindow, false) 
guiWindowSetSizable(shopWindow,false) 
guiWindowSetMovable(shopWindow,true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel) 
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1]) 
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1]) 
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel) 
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_1 ) 
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_2 ) 
  
  
bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( Shop_Panel ) == true ) then 
 guiSetVisible ( Shop_Panel ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( Shop_Panel ) == false ) then 
 guiSetVisible ( Shop_Panel ,true ) 
 showCursor (false ) 
 guiSetInputEnabled(true) 
 end 
 end 
 ) 
  

مدري المشكلة مني اول من نفسسه السسككربت وششكرا

وش المشكلة في الكود تحديداً ؟

الزر ما يشتغل بشكل صحيح ؟

Link to comment

وش المشكلة في الكود تحديداً ؟

الزر ما يشتغل بشكل صحيح ؟

----------------------------------------------

المششكلة ان انا سويت Tab Panel

بعدين حطيت add tab

بعدين

سميت التاب الاول Shop 1

سميت التاب الثاني shop 2

بعدين حطيت صصورة بالتاب الاول

رحت التاب الثاني شفت نفسس الصصورة ..

...

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