Jump to content

GridList Dx


Recommended Posts

Posted

السلام عليكم

ياخوان في شبيه للجريد ليست gui

بس dx

بغيت فنكشاته الله لايهينكم

Posted

الجريد ليست صصعبةة جدا ومستحيل تقدر تسويها ويبي لها حسابات ومشوار

الموجود بالكومنتي dxGUI استخدم سكربت

Posted
الجريد ليست صصعبةة جدا ومستحيل تقدر تسويها ويبي لها حسابات ومشوار

الموجود بالكومنتي dxGUI استخدم سكربت

:lol:

لمتا الواحد يقعد يقول صعبه

فاضي ماعندي شي

بس احتاج الفنكشات .

متى بتطور لاقعدت اسوي السهل

Posted

طيب ياشباب

في احد جرب هاذا

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 
) 

Posted
لا تستخدم ذا .. فيه بقات وخربان ذذ

طيب بغيت اسالك الحين الثاني الي شغال ذا

وش سالفة فنكشاته

مهيب زي

selcteditem-itemtext

لو ابي اضيف مثلا اسماء الاعبين

كيف بتكون الطريقة ولو مثلا بضيف كلام ويحدده ويظغط زر

ياليت مثال لطريقة ,

Posted

شوف هاد مثال

حطة في ملف مع المود

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 

Posted
لا تستخدم ذا .. فيه بقات وخربان ذذ

طيب بغيت اسالك الحين الثاني الي شغال ذا

وش سالفة فنكشاته

مهيب زي

selcteditem-itemtext

لو ابي اضيف مثلا اسماء الاعبين

كيف بتكون الطريقة ولو مثلا بضيف كلام ويحدده ويظغط زر

ياليت مثال لطريقة ,

يوم تحمل السكربت تلقى فيه ملف .. مسوي لك كل شي امثلة يعني

وبقلكـ برضو ذا بالجريد ليست حقه فيه بق كذا اتذكر .

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