#Major . Posted January 30, 2018 Share Posted January 30, 2018 السلام عليكم انا سويت لوحة قريد ليست وحطيت فيها الاعبين لكن واجهتني مشكلة الي هي اكواد الالوان HTML م ابيها تضهر بالاسامي ؟ فيه حل عشان اخفيها؟ Link to comment
#SycroX Posted January 30, 2018 Share Posted January 30, 2018 11 minutes ago, *RayaN-Alharbi. said: السلام عليكم انا سويت لوحة قريد ليست وحطيت فيها الاعبين لكن واجهتني مشكلة الي هي اكواد الالوان HTML م ابيها تضهر بالاسامي ؟ فيه حل عشان اخفيها؟ string.gsub Link to comment
#Major . Posted January 30, 2018 Author Share Posted January 30, 2018 11 minutes ago, #SycroX said: string.gsub getPlayerName( v ):gsub( "#%x%x%x%x%x%x", "" ) كذا؟ Link to comment
#SycroX Posted January 30, 2018 Share Posted January 30, 2018 Just now, *RayaN-Alharbi. said: getPlayerName( v ):gsub( "#%x%x%x%x%x%x", "" ) كذا؟ yup getPlayerName(v):gsub( "#%x%x%x%x%x%x", " " ) Link to comment
#Major . Posted January 30, 2018 Author Share Posted January 30, 2018 Just now, #SycroX said: yup getPlayerName(v):gsub( "#%x%x%x%x%x%x", " " ) شكرا Link to comment
#SycroX Posted January 30, 2018 Share Posted January 30, 2018 Just now, *RayaN-Alharbi. said: شكرا عفوا Link to comment
#Major . Posted January 30, 2018 Author Share Posted January 30, 2018 1 minute ago, #SycroX said: عفوا بما انك موجود حبيت اسألك كيف اقدر اخلي الاعب لما يكتب بالشات اول مره وبعدين يكتب المره الثانيه يقله انتضر ثانيه او انتضر ثانيتين ووبعدين يقدر؟؟ Link to comment
#SycroX Posted January 30, 2018 Share Posted January 30, 2018 Just now, *RayaN-Alharbi. said: بما انك موجود حبيت اسألك كيف اقدر اخلي الاعب لما يكتب بالشات اول مره وبعدين يكتب المره الثانيه يقله انتضر ثانيه او انتضر ثانيتين ووبعدين يقدر؟؟ table cancelEvent outputChatBox Link to comment
Doffy Posted January 30, 2018 Share Posted January 30, 2018 2 hours ago, #SycroX said: table cancelEvent outputChatBox + setTimer killTimer Link to comment
#Major . Posted January 31, 2018 Author Share Posted January 31, 2018 On 1/30/2018 at 18:53, #SycroX said: yup getPlayerName(v):gsub( "#%x%x%x%x%x%x", " " ) setTimer ( function ( ) guiGridListClear( TimeList ) local g = getPlayersSortByaTime ( ) for i = 1, 30 do local aRow = guiGridListAddRow( TimeList ) if ( g [ i ] )then guiGridListSetItemText( TimeList, aRow, 1, i ..'-', false, false ) guiGridListSetItemText( TimeList, aRow, 2, getPlayerName ( g [ i ].player ), false, false ) guiGridListSetItemText( TimeList, aRow, 3, convertNumber( g [ i ].Time ), false, false ) guiSetFont ( TimeList, "default-bold" ) end end end , 1000, 0 ) كيف اقدر ادخلل عليه؟ Link to comment
SycroX Posted January 31, 2018 Share Posted January 31, 2018 1 hour ago, *RayaN-Alharbi. said: setTimer ( function ( ) guiGridListClear( TimeList ) local g = getPlayersSortByaTime ( ) for i = 1, 30 do local aRow = guiGridListAddRow( TimeList ) if ( g [ i ] )then guiGridListSetItemText( TimeList, aRow, 1, i ..'-', false, false ) guiGridListSetItemText( TimeList, aRow, 2, getPlayerName ( g [ i ].player ), false, false ) guiGridListSetItemText( TimeList, aRow, 3, convertNumber( g [ i ].Time ), false, false ) guiSetFont ( TimeList, "default-bold" ) end end end , 1000, 0 ) كيف اقدر ادخلل عليه؟ setTimer(function() guiGridListClear( TimeList ) local g = getPlayersSortByaTime() for i = 1, 30 do local aRow = guiGridListAddRow( TimeList ) if g[i]then guiGridListSetItemText( TimeList, aRow, 1, i ..'-', false, false ) guiGridListSetItemText( TimeList, aRow, 2, getPlayerName(g[i].player):gsub("#%x%x%x%x%x%x", ""), false, false ) guiGridListSetItemText( TimeList, aRow, 3, convertNumber(g[i].Time), false, false ) guiSetFont ( TimeList, "default-bold" ) end end end, 1000, 0) Link to comment
#Major . Posted February 1, 2018 Author Share Posted February 1, 2018 8 hours ago, #x1AhMeD,-09 said: setTimer(function() guiGridListClear( TimeList ) local g = getPlayersSortByaTime() for i = 1, 30 do local aRow = guiGridListAddRow( TimeList ) if g[i]then guiGridListSetItemText( TimeList, aRow, 1, i ..'-', false, false ) guiGridListSetItemText( TimeList, aRow, 2, getPlayerName(g[i].player):gsub("#%x%x%x%x%x%x", ""), false, false ) guiGridListSetItemText( TimeList, aRow, 3, convertNumber(g[i].Time), false, false ) guiSetFont ( TimeList, "default-bold" ) end end end, 1000, 0) اخليها دايم بعد الاليمنت؟ صح Link to comment
SycroX Posted February 1, 2018 Share Posted February 1, 2018 Just now, *RayaN-Alharbi. said: اخليها دايم بعد الاليمنت؟ صح يب بس في 2 طريقه : 1 - getPlayerName(g[i].player):gsub("#%x%x%x%x%x%x", "") 2 - string.gsub(getPlayerName(g[i].player), "#%x%x%x%x%x%x", "") Link to comment
#Major . Posted February 1, 2018 Author Share Posted February 1, 2018 11 hours ago, #x1AhMeD,-09 said: getPlayerName(g[i].player):gsub("#%x%x%x%x%x%x", "") جربت هذي م زبطت Link to comment
SycroX Posted February 1, 2018 Share Posted February 1, 2018 Just now, *RayaN-Alharbi. said: جربت هذي م زبطت وش يقولك الدي بق Link to comment
#Major . Posted February 1, 2018 Author Share Posted February 1, 2018 (edited) 12 minutes ago, #x1AhMeD,-09 said: وش يقولك الدي بق الدي بق فاضي والاسامي موجودة بس جربت الي تحت زبطت <> مو مشكلةة 11 minutes ago, *RayaN-Alharbi. said: الدي بق فاضي والاسامي موجودة بس جربت الي تحت زبطت <> مو مشكلةة لكن هذا الكود جربت الطريقتين ومازبط ممكن تتعطيني السبب؟ guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, getPlayerName(player):gsub("#%x%x%x%x%x%x", ""), false, false) Edited February 1, 2018 by *RayaN-Alharbi. خطأ في الأملاء 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