Jump to content

للمبرمجين ساعدوني لاهــنتو


EdeN

Recommended Posts

  • Replies 99
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

top4top_95ab23c1251.png

؟؟؟؟؟؟؟

code?

GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
  
wnd = guiCreateWindow(0.3939,0.0872,0.2321,0.4818,"مود قفل و فتح الموتر",true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,19,299,342,false,wnd) 
GUIEditor_Tab[1] = guiCreateTab("Tab3",GUIEditor_TabPanel[1]) 
button = guiCreateButton(16,291,131,37,"قفل",false,GUIEditor_Tab[1]) 
button1 = guiCreateButton(163,291,127,35, "فتح",false,GUIEditor_Tab[1]) 
Image = guiCreateStaticImage(51,34,229,234,"images/mtalogo.png",false,GUIEditor_Tab[1]) 
  
addEventHandler("onClientGUIClick", root, 
function() 
     if (source == قفل) then 
          setVehicleLocked(getPedOccupiedVehicle(localPlayer), true) 
     elseif (source == فتح) then 
          setVehicleLocked(getPedOccupiedVehicle(localPlayer), false) 
     end 
end) 
  
bindKey("F2", "down", function() 
guiSetVisible(wnd, not guiGetVisible(wnd)) 
showCursor(guiGetVisible(wnd)) 
guiSetInputEnabled(guiGetVisible(wnd)) 
end) 

هذا الكود

Edited by Guest
Link to comment
top4top_95ab23c1251.png

؟؟؟؟؟؟؟

code?

GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
  
wnd = guiCreateWindow(0.3939,0.0872,0.2321,0.4818,"مود قفل و فتح الموتر",true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,19,299,342,false,wnd) 
GUIEditor_Tab[1] = guiCreateTab("Tab3",GUIEditor_TabPanel[1]) 
button = guiCreateButton(16,291,131,37,"قفل",false,GUIEditor_Tab[1]) 
button1 = guiCreateButton(163,291,127,35, "فتح",false,GUIEditor_Tab[1]) 
Image = guiCreateStaticImage(51,34,229,234,"images/mtalogo.png",false,GUIEditor_Tab[1]) 
  
addEventHandler("onClientGUIClick", root, 
function() 
     if (source == قفل) then 
          setVehicleLocked(getPedOccupiedVehicle(localPlayer), true) 
     elseif (source == فتح) then 
          setVehicleLocked(getPedOccupiedVehicle(localPlayer), false) 
     end 
end) 
  
bindKey("F2", "down", function() 
guiSetVisible(wnd, not guiGetVisible(wnd)) 
showCursor(guiGetVisible(wnd)) 
guiSetInputEnabled(guiGetVisible(wnd)) 
end) 

هذا الكود

GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
  
wnd = guiCreateWindow(0.3939,0.0872,0.2321,0.4818,"مود قفل و فتح الموتر",true) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,19,299,342,false,wnd) 
GUIEditor_Tab[1] = guiCreateTab("Tab3",GUIEditor_TabPanel[1]) 
button = guiCreateButton(16,291,131,37,"قفل",false,GUIEditor_Tab[1]) 
button1 = guiCreateButton(163,291,127,35, "فتح",false,GUIEditor_Tab[1]) 
Image = guiCreateStaticImage(51,34,229,234,"images/mtalogo.png",false,GUIEditor_Tab[1]) 
  
addEventHandler("onClientGUIClick", root, 
function() 
if (source == button) then 
setVehicleLocked(getPedOccupiedVehicle(localPlayer), true) 
elseif (source == button1) then 
setVehicleLocked(getPedOccupiedVehicle(localPlayer), false) 
end 
end) 
  
bindKey("F2", "down", function() 
guiSetVisible(wnd, not guiGetVisible(wnd)) 
showCursor(guiGetVisible(wnd)) 
guiSetInputEnabled(guiGetVisible(wnd)) 
end) 

Edited by Guest
Link to comment

هذا

addVehicleUpgrade(getPedOccupiedVehicle(هنا احط اسم النافذ؟),1010)

addVehicleUpgrade(getPedOccupiedVehicle(source),1010)

؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

Link to comment
هذا

addVehicleUpgrade(getPedOccupiedVehicle(هنا احط اسم النافذ؟),1010)

addVehicleUpgrade(getPedOccupiedVehicle(source),1010)

؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

Link to comment
هذا

addVehicleUpgrade(getPedOccupiedVehicle(هنا احط اسم النافذ؟),1010)

addVehicleUpgrade(getPedOccupiedVehicle(source),1010)

؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

؟؟؟؟؟؟؟ هل من رد او تعبتو ؟؟؟؟؟؟

Link to comment
addVehicleUpgrade(getPedOccupiedVehicle(source),1010) 

1010

يعني نيترو

x10

مثل انا اخذت كود وين اكتب اسم النافذ في الكود ؟؟؟؟

في بعض الاكواد تختلف ؟

Edited by Guest
Link to comment
هذا

addVehicleUpgrade(getPedOccupiedVehicle(هنا احط اسم النافذ؟),1010)

addVehicleUpgrade(getPedOccupiedVehicle(source),1010)

؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

؟؟؟؟؟؟؟ هل من رد او تعبتو ؟؟؟؟؟؟

وين احط اسم الزر ؟

Link to comment
الزر شي والمود شي آخر

الزر هذا عبارة عن شي اذا انضغت عليه يحصل شي انت تبيه

والمود هذا شي من انشاءك

اعرض كودك كلله

GUIEditor_Window = {}

GUIEditor_Button = {}

GUIEditor_Window[1] = guiCreateWindow(0.9004,0.4076,0.0988,0.1263,"لاستخدام",true)

GUIEditor_Button[1] = guiCreateButton(11,35,115,43,"وزنية النخيل",false,GUIEditor_Window[1])

GUIEditor_Window[2] = guiCreateWindow(0.9004,0.2826,0.0988,0.1263,"لاستخدام",true)

GUIEditor_Button[2] = guiCreateButton(10,39,116,41,"وزنية مسرع بشويش",false,GUIEditor_Window[2])

GUIEditor_Window[3] = guiCreateWindow(0.9004,0.5326,0.0988,0.125,"لاستخدام",true)

GUIEditor_Button[3] = guiCreateButton(13,36,110,39,"وزنية بوصقر",false,GUIEditor_Window[3])

Link to comment
يعني انت الحين تبيه اذا ضغت

GUIEditor_Button[1]

او

GUIEditor_Button[2]

او

GUIEditor_Button[3]

يعطيه نايترو ؟

يب

ابي اعرف اي كلمه استبدله ؟؟ لكودات

حط ذا الكود في سطر آخر بعد كودك

addEventHandler("onClientGUIClick", root, 
function( ) 
    if ( source == GUIEditor_Button[1] ) then 
        addVehicleUpgrade(getPedOccupiedVehicle(source),1010) 
            elseif ( source == GUIEditor_Button[2] ) then 
                addVehicleUpgrade(getPedOccupiedVehicle(source),1010) 
                    elseif ( source == GUIEditor_Button[3] ) then 
                        addVehicleUpgrade(getPedOccupiedVehicle(source),1010) 
    end 
end) 

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