#Rmad~> Posted June 7, 2014 Share Posted June 7, 2014 السلام عليكم ياخوان في شبيه للجريد ليست gui بس dx بغيت فنكشاته الله لايهينكم Link to comment
#DRAGON!FIRE Posted June 7, 2014 Share Posted June 7, 2014 الجريد ليست صصعبةة جدا ومستحيل تقدر تسويها ويبي لها حسابات ومشوار الموجود بالكومنتي dxGUI استخدم سكربت Link to comment
#Rmad~> Posted June 7, 2014 Author Share Posted June 7, 2014 الجريد ليست صصعبةة جدا ومستحيل تقدر تسويها ويبي لها حسابات ومشوارالموجود بالكومنتي dxGUI استخدم سكربت لمتا الواحد يقعد يقول صعبه فاضي ماعندي شي بس احتاج الفنكشات . متى بتطور لاقعدت اسوي السهل Link to comment
#DRAGON!FIRE Posted June 7, 2014 Share Posted June 7, 2014 لول محسبها سهلة ؟ هي ريتنكقل وحسابات ورندر وبيند كي واشياء ثانية .. يعني الزبدة لا تحسبها سهلة ويمديكـ تسويها شف اكواد السكربتات ذي .. ولو مداك تسوي زيها يكون كويس ذذ https://community.multitheftauto.com/in ... ls&id=2136 https://community.multitheftauto.com/in ... ls&id=7436 Link to comment
فاّرس Posted June 8, 2014 Share Posted June 8, 2014 dxGUI تقدر تفتح مود وتآخذ اكواد الجريد ليست وحطها بمودك , احسن لك ذذ Link to comment
shwaeki Posted June 8, 2014 Share Posted June 8, 2014 يب والله المود روعة احداثيات gui نفسهم تعون الوحان في ها المود Link to comment
#Rmad~> Posted June 8, 2014 Author Share Posted June 8, 2014 طيب ياشباب في احد جرب هاذا https://community.multitheftauto.com/in ... ls&id=7436 واشتغل معه لاني جربته وماشتغل معي يقولي Error: line 5 Bad Argument @cDx function cDx:new(title,width,height,background,fontcolor,font,hovercolor) assert((type(title) == 'string'),'Bad Argument @cDx:new [Expected stringt at argument 1 got '..type(title)..']') assert((type(width) == 'number'),'Bad Argument @cDx:new [Expected number at argument 2 got '..type(width)..']') assert((type(height) == 'number'),'Bad Argument @cDx:new [Expected number at argument 3 got '..type(height)..']') assert((type(background) == 'function'),'Bad Argument @cDx:new [Expected function at argument 4 got '..type(background)..']') assert((type(fontcolor) == 'function'),'Bad Argument @cDx:new [Expected function at argument 5 got '..type(fontcolor)..']') assert((type(font) == 'string'),'Bad Argument @cDx:new [Expected stringt at argument 6 got '..type(font)..']') assert((type(hovercolor) == 'function'),'Bad Argument @cDx:new [Expected function at argument 7 got '..type(hovercolor)..']') local instance = {} title = tostring(title) width = tonumber(width) height = tonumber(height) background = background or tocolor(0,0,0,150) fontcolor = fontcolor or tocolor(255,255,255,255) font = tostring(font) or "default-bold" hovercolor = hovercolor or tocolor(155,155,155,155) curselected = false show = false list = {} scroll = 0 di = 0 setmetatable(instance,self) return instance end addEventHandler("onClientResourceStart",resourceRoot, function () window = cDx:new("Title",512,512,tocolor(0,0,0,150),tocolor(0,0,0,150),"default-bold",tocolor(255,255,255,255)) end ) Link to comment
#DRAGON!FIRE Posted June 8, 2014 Share Posted June 8, 2014 لا تستخدم ذا .. فيه بقات وخربان ذذ Link to comment
#Rmad~> Posted June 8, 2014 Author Share Posted June 8, 2014 لا تستخدم ذا .. فيه بقات وخربان ذذ طيب بغيت اسالك الحين الثاني الي شغال ذا وش سالفة فنكشاته مهيب زي selcteditem-itemtext لو ابي اضيف مثلا اسماء الاعبين كيف بتكون الطريقة ولو مثلا بضيف كلام ويحدده ويظغط زر ياليت مثال لطريقة , Link to comment
shwaeki Posted June 8, 2014 Share Posted June 8, 2014 شوف هاد مثال حطة في ملف مع المود local gridlist = dxCreateGridList(33, 258, 333, 251,false) local row = dxGridListAddRow(gridlist," #ffff00Pl#00ff00a#00ffffyer") dxGridListSetItemColorCoded (row,true) for i, player in ipairs (getElementsByType ("player")) do local Player1 = getPlayerName(player) dxGridListAddRow(gridlist,Player1) end Link to comment
#DRAGON!FIRE Posted June 8, 2014 Share Posted June 8, 2014 لا تستخدم ذا .. فيه بقات وخربان ذذ طيب بغيت اسالك الحين الثاني الي شغال ذا وش سالفة فنكشاته مهيب زي selcteditem-itemtext لو ابي اضيف مثلا اسماء الاعبين كيف بتكون الطريقة ولو مثلا بضيف كلام ويحدده ويظغط زر ياليت مثال لطريقة , يوم تحمل السكربت تلقى فيه ملف .. مسوي لك كل شي امثلة يعني وبقلكـ برضو ذا بالجريد ليست حقه فيه بق كذا اتذكر . Link to comment
#Rmad~> Posted June 9, 2014 Author Share Posted June 9, 2014 مشكورين شباب يعطيكم العافية ماقصرتم. 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