Jump to content

طلب كود


Recommended Posts

Posted

السلام عليكم

كيفكم شباب ؟

بدى كود يخلى الاسماء ما تتكرر بالقريد ليست

#Skype :mohamed.abdelmaksoud66

#WhatsApp : 01111231094

#Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ

#[M.S] Server : Role Play Soon | حياة واقعية قريبا.

#[M.S] Programmed By : mIDO

#[M.N] Server : Hajwalh Soon | هجوله قريبا.

#[M.N] Programmed By : mIDO

يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة xD

n-560x95_006EB8_000000_000000_AD0000.png

Posted

وضح طلبك

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted

سويت مود المود عبارة عن لوحة شرطى

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

خليته موجود بس الاسماء تتكرر

#Skype :mohamed.abdelmaksoud66

#WhatsApp : 01111231094

#Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ

#[M.S] Server : Role Play Soon | حياة واقعية قريبا.

#[M.S] Programmed By : mIDO

#[M.N] Server : Hajwalh Soon | هجوله قريبا.

#[M.N] Programmed By : mIDO

يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة xD

n-560x95_006EB8_000000_000000_AD0000.png

Posted

يعني سويت ايديت ولما يكتب اسم اللاعب

مرتين

يتكرر الاسم مرتين ؟

بس أتاكد

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted
سويت مود المود عبارة عن لوحة شرطى

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

خليته موجود بس الاسماء تتكرر

guiGridListClear 

76561198264399996.png

 

 

 

 

Posted

استعمل .

guiGridListClear 

وانشالله بتعمل

 

قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل B-18.png 

Posted

اسمع ,

انا عندى قريد ليست لاسماء اللاعبين

اسمى انا لوحدى متكرر 6 مرات

#Skype :mohamed.abdelmaksoud66

#WhatsApp : 01111231094

#Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ

#[M.S] Server : Role Play Soon | حياة واقعية قريبا.

#[M.S] Programmed By : mIDO

#[M.N] Server : Hajwalh Soon | هجوله قريبا.

#[M.N] Programmed By : mIDO

يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة xD

n-560x95_006EB8_000000_000000_AD0000.png

Posted

addEventHandler("onClientGUIChanged",root, 
    function () 
        if ( source == edit ) then 
            local text = guiGetText(edit) 
            if ( text == "" ) then 
                putAllPlayersInList() 
            else 
                guiGridListClear(grid) 
                for i,v in ipairs(getElementsByType("player")) do 
                    local name = getPlayerName(v) 
                    if string.find(name,text) then 
                        local row = guiGridListAddRow(grid) 
                        guiGridListSetItemText(grid,row,1,name,false,false) 
                        guiGridListSetItemColor(grid,row,1,255,255,0) 
                    end 
                end 
            end 
        end 
    end 
) 
  

 

قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل B-18.png 

Posted
setTimer ( guiGridListClear, 5000, 1, PlayersGrid )  

سويت ذه الاسم صار يظهر لمدة 3 ثوانى و يختفى و ما يظهر تانى

#Skype :mohamed.abdelmaksoud66

#WhatsApp : 01111231094

#Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ

#[M.S] Server : Role Play Soon | حياة واقعية قريبا.

#[M.S] Programmed By : mIDO

#[M.N] Server : Hajwalh Soon | هجوله قريبا.

#[M.N] Programmed By : mIDO

يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة xD

n-560x95_006EB8_000000_000000_AD0000.png

Posted

اطرح الكود كامل ^^

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted
function clientsideResourceStart () 
        if ( column ) then 
                for id, playeritem in ipairs(getElementsByType("player")) do  
                        local row = guiGridListAddRow ( PlayersGrid ) 
                        guiGridListSetItemText ( PlayersGrid, row, column, getPlayerName ( playeritem ), false, false ) 
                        setTimer ( guiGridListClear, 5000, 1, PlayersGrid )  
                end 
        end 
end 
addEventHandler ( "onClientResourceStart", getRootElement(), clientsideResourceStart ) 

#Skype :mohamed.abdelmaksoud66

#WhatsApp : 01111231094

#Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ

#[M.S] Server : Role Play Soon | حياة واقعية قريبا.

#[M.S] Programmed By : mIDO

#[M.N] Server : Hajwalh Soon | هجوله قريبا.

#[M.N] Programmed By : mIDO

يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة xD

n-560x95_006EB8_000000_000000_AD0000.png

Posted
وظيفة تغيير قيَم القريد لست إلى أسماء اللاعبين ..
changeGridListItemToPlayersName = function ( GridList, Column ) 
    if GridList and Column then -- Check Parematers 
        if getElementType ( GridList ) == "gui-gridlist" then -- Check The Type of ' GridList ' 
            if guiGridListClear ( GridList ) then -- Clear GridList 
                for i, v in next, getElementsByType ( "player" ) do -- Get Everything by Type ' player '  
                    local Row = guiGridListAddRow ( GridList ) -- Add Row 
                    guiGridListSetItemText ( GridList, Row, Column, getPlayerName ( v ), false, false ); -- Set New Values 
                end; -- end of ' for ' 
            end; -- end of ' clear gridlist ' 
        end; -- end of ' check gridlist type ' 
    end; -- end of ' check parematers 
end; -- end of ' function ' 

مثآل :

wnd = guiCreateWindow ( 100, 100, 400, 400, "Test", false ); -- Create Window 
grid = guiCreateGridList ( 25, 30, 350, 350, false, wnd ); -- Create Gridlist 
col = guiGridListAddColumn ( grid, "Players", 0.9 ); -- Create Column 
changeGridListItemToPlayersName ( grid, col ); -- Set Gridlist Values 

استعمل هذا الكود من قبل عناد

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted

مشكور اخوى

ان شاء الله شغال

لحد الحين الاسماء ما اتكررت و كله تمام شكرا اخوى واى فاى

و شكرا لعناد

#Skype :mohamed.abdelmaksoud66

#WhatsApp : 01111231094

#Channel : https://www.youtube.com/channel/UCwb3GX2bhIA68JeCTPrBdWQ

#[M.S] Server : Role Play Soon | حياة واقعية قريبا.

#[M.S] Programmed By : mIDO

#[M.N] Server : Hajwalh Soon | هجوله قريبا.

#[M.N] Programmed By : mIDO

يمكن افتتاح السيرفرين يكون فى الاجازة الكبيرة xD

n-560x95_006EB8_000000_000000_AD0000.png

Posted
guiGridListClear 

استعمل .

guiGridListClear 

وانشالله بتعمل

@[L]e3bA ممكن اعرف وش الفرق بين ردك و رد احمد ؟

p_234mkkd1.gif
Posted
guiGridListClear 

استعمل .

guiGridListClear 

وانشالله بتعمل

@[L]e3bA ممكن اعرف وش الفرق بين ردك و رد احمد ؟

عنده مرض

Posted

^ +1

ياخذ اكواد غيرهم ويعدل الشرح

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted

^ +1

ياخذ اكواد غيرهم ويعدل الشرح

Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة

ليس عليك اسعاد الجميع ,
ولكن عليك بإن لا تؤذي أحداً 

=========
You do not have to make everyone happy,
But you should not hurt anyone

 

Want to contact with me?

 

Discord: JustCarry#2616 (Always there)
Skype: Live:JustCarry10 (Not always)

Posted

اسف ان رفعت الموضوع لكن لدي طريقة افضل

روح عند كود فتح اللوحة بزر

وضيف به

guiGridListClear()

facebooke : https://www.facebook.com/jaber.pro

skype : delete

Email : [email protected] :D

احلام الناس لا نهاية لها

لا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها

Posted

اسف ان رفعت الموضوع لكن لدي طريقة افضل

روح عند كود فتح اللوحة بزر

وضيف به

guiGridListClear()

facebooke : https://www.facebook.com/jaber.pro

skype : delete

Email : [email protected] :D

احلام الناس لا نهاية لها

لا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها

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