iMr.G[7]A Posted October 1, 2014 Share Posted October 1, 2014 كيف احركـ ازرار الفـري روم ؟ اي ملف واي مجلد؟ Link to comment
nxFairlywell Posted October 1, 2014 Share Posted October 1, 2014 كيف احركـ ازرار الفـري روم ؟ اي ملف واي مجلد؟ اممم :resource/[gameplay]/freeroam.zip/fr_client.lua راح تحصل جدول فيه wight = رقم hight = رقم عدل الحجم من هنا ^ Link to comment
i,xAhmed Posted October 1, 2014 Share Posted October 1, 2014 (edited) كيف احركـ ازرار الفـري روم ؟ اي ملف واي مجلد؟ آخووي قصدك تخليها متحركة يعني تهتز يمين يسار فوق تحت ولا قصدك تغير مكانك ؟ اذا تغير مكانك ملف fr_client.lua الفري روم الاصلي سطر : 946 سطر : 947 , مثال السطر 9 + 10 wndCreateVehicle = { 'wnd', text = 'Create vehicle', width = 300, controls = { { 'lst', id='vehicles', width=280, height=340, columns={ {text='Vehicle', attr='name'} }, rows={xml='vehicles.xml', attrs={'id', 'name'}}, onitemdoubleclick=createSelectedVehicle }, {'btn', id='create', onclick=createSelectedVehicle}, {'btn', id='close', closeswindow=true} } } Edited October 1, 2014 by Guest Link to comment
iMr.G[7]A Posted October 1, 2014 Author Share Posted October 1, 2014 ابي اغير مكان الازرار مثلا انتحار ابي اغير مكانه مآ قلت حجمه + وما قلت خله ترقص Link to comment
nxFairlywell Posted October 1, 2014 Share Posted October 1, 2014 ابي اغير مكان الازرار مثلا انتحار ابي اغير مكانه مآ قلت حجمه + وما قلت خله ترقص Wight = عرض hight = مدري وش =) بس طول او ماشابه Link to comment
Mr.SAUD Posted October 1, 2014 Share Posted October 1, 2014 اذا تبي تغير مثال , تبي الشخصيات اول زر هذا فري روم مو معدل 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 } تبي الشخصيات اول شي wndMain = { 'wnd', text = 'FR GUI', x = 10, y = 150, width = 280, controls = { {'btn', id='skin', window=wndSkin}, -- خلينه هنا {'lbl', text='Local player'}, {'br'}, {'btn', id='kill', onclick=killLocalPlayer}, -- كان محلة هنا ! {'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 } يعني الموضوع كله في الترتيب تخليه اول زر يجي اول زر تخليه اخر زر يجي اخر زر اذا تبي تعدل طول الزر , حط مسافات , , اعذرنا ما نعرف نفهم Link to comment
</Mr.Tn6eL> Posted October 2, 2014 Share Posted October 2, 2014 سهل هو مسوي جدول ويرتب من الاول الى الاخير يعني مثال بشيل هذا {'btn', id='kill', onclick=killLocalPlayer}, وبحطه تحت skin راح يصير مجنبة او فوقة على حسب حجم الازرار controls = { {'lbl', text='Local player'}, {'br'}, {'btn', id='skin', window=wndSkin}, {'btn', id='kill', onclick=killLocalPlayer}, -- [ حطيته هنا ] Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now