Jump to content

طلب كود برجاء الدخول


Recommended Posts

guieditorشباب انا صممت نافذة فري روم بمود

ابي شخص يضع لي اكواد المود والمود واضح فيه كل زر وش هي مهمته ها هو تصميمي

GUIEditor = { 
    checkbox = {}, 
    button = {}, 
    label = {}, 
    window = {}, 
} 
GUIEditor.window[1] = guiCreateWindow(26, 66, 301, 447, "FreeRoam", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetAlpha(GUIEditor.window[1], 1.00) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFB0000") 
  
GUIEditor.button[1] = guiCreateButton(10, 41, 62, 26, "انتحار", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[2] = guiCreateButton(82, 41, 62, 26, "شخصيات", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[3] = guiCreateButton(154, 41, 62, 26, "حركات", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[4] = guiCreateButton(229, 41, 62, 26, "ادوات", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[5] = guiCreateButton(10, 77, 62, 26, "ملابس", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[6] = guiCreateButton(82, 77, 62, 26, "جاذبية", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[7] = guiCreateButton(154, 77, 62, 26, "انتقال", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[8] = guiCreateButton(229, 77, 62, 26, "الحالة", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[9] = guiCreateButton(10, 113, 282, 26, "حفظ المكان", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FF04D1F6") 
GUIEditor.checkbox[1] = guiCreateCheckBox(10, 149, 15, 15, "", false, false, GUIEditor.window[1]) 
GUIEditor.label[1] = guiCreateLabel(35, 149, 22, 15, "نفاثة", false, GUIEditor.window[1]) 
  
GUIEditor.label[2] = guiCreateLabel(-1, 37, 50, 15, "", false, GUIEditor.label[1]) 
  
GUIEditor.checkbox[2] = guiCreateCheckBox(10, 174, 15, 15, "", false, false, GUIEditor.window[1]) 
GUIEditor.label[3] = guiCreateLabel(35, 174, 96, 15, "السقوط من الدراجة", false, GUIEditor.window[1]) 
GUIEditor.checkbox[3] = guiCreateCheckBox(164, 149, 15, 15, "", false, false, GUIEditor.window[1]) 
GUIEditor.label[4] = guiCreateLabel(35, 174, 96, 15, "السقوط من الدراجة", false, GUIEditor.window[1]) 
GUIEditor.label[5] = guiCreateLabel(189, 149, 60, 15, "منع الانتقال", false, GUIEditor.window[1]) 
GUIEditor.label[6] = guiCreateLabel(254, 22, 37, 15, "اللاعب", false, GUIEditor.window[1]) 
GUIEditor.button[11] = guiCreateButton(157, 173, 62, 26, "خريطة", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[11], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[12] = guiCreateButton(229, 174, 62, 26, "اماكن", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[12], "NormalTextColour", "FF04D1F6") 
GUIEditor.label[7] = guiCreateLabel(231, 218, 60, 15, "الاحداثيات:", false, GUIEditor.window[1]) 
GUIEditor.button[13] = guiCreateButton(86, 295, 62, 26, "اصلاح", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[13], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[14] = guiCreateButton(14, 295, 62, 26, "السيارات", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[14], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[15] = guiCreateButton(158, 295, 62, 26, "تعديلات", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[15], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[17] = guiCreateButton(230, 331, 61, 26, "تلوين", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[17], "NormalTextColour", "FF04D1F6") 
GUIEditor.label[8] = guiCreateLabel(263, 243, 28, 15, "المواتر", false, GUIEditor.window[1]) 
GUIEditor.label[9] = guiCreateLabel(225, 270, 66, 15, "الموتر الحالي:", false, GUIEditor.window[1]) 
GUIEditor.button[18] = guiCreateButton(229, 295, 62, 26, "هاك", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[18], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[19] = guiCreateButton(14, 331, 62, 26, "انقلاب", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[19], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[21] = guiCreateButton(86, 331, 135, 26, "قفل/فتح الموتر", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[21], "NormalTextColour", "FF04D1F6") 
GUIEditor.button[22] = guiCreateButton(14, 367, 277, 26, "ايقاف/تشغيل المحرك", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF04D1F6") 
GUIEditor.label[10] = guiCreateLabel(37, 403, 49, 15, "ضوء الموتر", false, GUIEditor.window[1]) 
GUIEditor.checkbox[4] = guiCreateCheckBox(14, 403, 16, 15, "", false, false, GUIEditor.window[1]) 
  

Edited by Guest
Link to comment
افضل لك تعدل ع الاصلي

لكن المشكلة اني ابغي اضيف اشياء جديدة وبشكل مختلف وايضا المود الاصلي يكرر الكلام مرتين

تقدر تضيف اى شئ تبيه بالفرى روم الاصلي + كلام ايش اللي يكرره مرتين

لو تقصد الشات تقدر تمسح مخرج الشات من ملف سيرفر fr_server

Link to comment
افضل لك تعدل ع الاصلي

لكن المشكلة اني ابغي اضيف اشياء جديدة وبشكل مختلف وايضا المود الاصلي يكرر الكلام مرتين

تقدر تضيف اى شئ تبيه بالفرى روم الاصلي + كلام ايش اللي يكرره مرتين

لو تقصد الشات تقدر تمسح مخرج الشات من ملف سيرفر fr_server

المشكلة اني لا اعرف شئ بالبرمجة

Link to comment

المشكلة اني لا اعرف شئ بالبرمجة

حاول انك تسوى اي شئ وان شاء الله تتعلم البرمجه لكن تضل تقول ماعرف شئ مراح تتعلم

بالنسبه للفرى روم تعديله سهل

اول شئ تروح لمسار اللوحه

wndMain = { 
    'wnd', 
    text = 'FR GUI', 
    x = 10, 
    y = 150, 
    width = 280, 
    controls = { 
        {'lbl', text='Local player'}, 
        {'br'}, 
        {'btn', id='kill', onclick=killLocalPlayer}, 
        {'btn', id='skin', window=wndSkin}, 
        {'btn', id='anim', window=wndAnim}, 
        {'btn', id='weapon', window=wndWeapon}, 
        {'btn', id='clothes', window=wndClothes}, 
        {'btn', id='playergrav', text='grav', window=wndGravity}, 
        {'btn', id='warp', window=wndWarp}, 
        {'btn', id='stats', window=wndStats}, 
        {'btn', id='bookmarks', window=wndBookmarks}, 
        {'br'}, 
        {'chk', id='jetpack', onclick=toggleJetPack}, 
        {'chk', id='falloff', text='fall off bike', onclick=toggleFallOffBike}, 
        {'br'}, 
         
        {'lbl', text='Pos:'}, 
        {'lbl', id='xpos', text='x', width=45}, 
        {'lbl', id='ypos', text='y', width=45}, 
        {'lbl', id='zpos', text='z', width=45}, 
        {'btn', id='setpos', text='map', window=wndSetPos}, 
        {'btn', id='setinterior', text='int', window=wndSetInterior}, 
        {'br'}, 
        {'br'}, 
         
        {'lbl', text='Vehicles'}, 
        {'br'}, 
        {'lbl', text='Current:'}, 
        {'lbl', id='curvehicle'}, 
        {'br'}, 
        {'btn', id='createvehicle', window=wndCreateVehicle, text='create'}, 
        {'btn', id='repair', onclick=repairVehicle}, 
        {'btn', id='flip', onclick=flipVehicle}, 
        {'btn', id='upgrades', window=wndUpgrades}, 
        {'btn', id='color', onclick=openColorPicker}, 
        {'btn', id='paintjob', window=wndPaintjob}, 
        {'br'}, 
        {'chk', id='lightson', text='Lights on', onclick=forceLightsOn}, 
        {'chk', id='lightsoff', text='Lights off', onclick=forceLightsOff}, 
        {'br'}, 
        {'br'}, 
         
        {'lbl', text='Environment'}, 
        {'br'}, 
        {'btn', id='time', window=wndTime}, 
        {'chk', id='freezetime', text='freeze', onclick=toggleFreezeTime}, 
        {'btn', id='weather', window=wndWeather}, 
        {'btn', id='speed', window=wndGameSpeed} 
    }, 
    oncreate = mainWndShow, 
    onclose = mainWndClose 
} 

عشان تعدل الحجم والارتفاع

تروح لذا السطر وتعدل ع الاحداثيات وهي الارقام هاذى

    x = 10, --- يسار او يمين 
y = 150, --- فوق او تحت 
width = 280, --- حجم اللوحه 

بالنسبه للزر تبي تغير احداثياته تسوي كذا

  
--- راح تشوف الزر كذا بدون احداثيات 
{'btn', id='kill', onclick=killLocalPlayer}, 
--- عشان تعدل عليه وتضبطه تقوم ب اضافة الاحداثيات كذا 
{'btn', id='kill', onclick=killLocalPlayer,x = 20,width = 120,}, 
  

:fadein: واي شئ مافهمته تفضل قوله

Link to comment

المشكلة اني لا اعرف شئ بالبرمجة

حاول انك تسوى اي شئ وان شاء الله تتعلم البرمجه لكن تضل تقول ماعرف شئ مراح تتعلم

بالنسبه للفرى روم تعديله سهل

اول شئ تروح لمسار اللوحه

wndMain = { 
    'wnd', 
    text = 'FR GUI', 
    x = 10, 
    y = 150, 
    width = 280, 
    controls = { 
        {'lbl', text='Local player'}, 
        {'br'}, 
        {'btn', id='kill', onclick=killLocalPlayer}, 
        {'btn', id='skin', window=wndSkin}, 
        {'btn', id='anim', window=wndAnim}, 
        {'btn', id='weapon', window=wndWeapon}, 
        {'btn', id='clothes', window=wndClothes}, 
        {'btn', id='playergrav', text='grav', window=wndGravity}, 
        {'btn', id='warp', window=wndWarp}, 
        {'btn', id='stats', window=wndStats}, 
        {'btn', id='bookmarks', window=wndBookmarks}, 
        {'br'}, 
        {'chk', id='jetpack', onclick=toggleJetPack}, 
        {'chk', id='falloff', text='fall off bike', onclick=toggleFallOffBike}, 
        {'br'}, 
         
        {'lbl', text='Pos:'}, 
        {'lbl', id='xpos', text='x', width=45}, 
        {'lbl', id='ypos', text='y', width=45}, 
        {'lbl', id='zpos', text='z', width=45}, 
        {'btn', id='setpos', text='map', window=wndSetPos}, 
        {'btn', id='setinterior', text='int', window=wndSetInterior}, 
        {'br'}, 
        {'br'}, 
         
        {'lbl', text='Vehicles'}, 
        {'br'}, 
        {'lbl', text='Current:'}, 
        {'lbl', id='curvehicle'}, 
        {'br'}, 
        {'btn', id='createvehicle', window=wndCreateVehicle, text='create'}, 
        {'btn', id='repair', onclick=repairVehicle}, 
        {'btn', id='flip', onclick=flipVehicle}, 
        {'btn', id='upgrades', window=wndUpgrades}, 
        {'btn', id='color', onclick=openColorPicker}, 
        {'btn', id='paintjob', window=wndPaintjob}, 
        {'br'}, 
        {'chk', id='lightson', text='Lights on', onclick=forceLightsOn}, 
        {'chk', id='lightsoff', text='Lights off', onclick=forceLightsOff}, 
        {'br'}, 
        {'br'}, 
         
        {'lbl', text='Environment'}, 
        {'br'}, 
        {'btn', id='time', window=wndTime}, 
        {'chk', id='freezetime', text='freeze', onclick=toggleFreezeTime}, 
        {'btn', id='weather', window=wndWeather}, 
        {'btn', id='speed', window=wndGameSpeed} 
    }, 
    oncreate = mainWndShow, 
    onclose = mainWndClose 
} 

عشان تعدل الحجم والارتفاع

تروح لذا السطر وتعدل ع الاحداثيات وهي الارقام هاذى

    x = 10, --- يسار او يمين 
y = 150, --- فوق او تحت 
width = 280, --- حجم اللوحه 

بالنسبه للزر تبي تغير احداثياته تسوي كذا

  
--- راح تشوف الزر كذا بدون احداثيات 
{'btn', id='kill', onclick=killLocalPlayer}, 
--- عشان تعدل عليه وتضبطه تقوم ب اضافة الاحداثيات كذا 
{'btn', id='kill', onclick=killLocalPlayer,x = 20,width = 120,}, 
  

:fadein: واي شئ مافهمته تفضل قوله

كيف اعرف الاحداثيات والحجم والمكان اللي ابغاه :?:

Link to comment
انت الان تقولي لا اقول ما اعرف شئ ما راح اتعلم اوك اشرحلي شرح مبسط وانا راح اتعلم

{'btn', id='kill', onclick=killLocalPlayer,x = 20,width = 120,}, 
-- الاحداثيات هاذى الارقام 
x = 20, -- يحرك الزر يسار او يمين 
width = 120, -- وذا الحجم حق الزر 
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...