☠ RaZeR ☠ Posted April 21, 2014 Share Posted April 21, 2014 (edited) اغلق الموضوع Edited June 7, 2014 by Guest Link to comment
#DRAGON!FIRE Posted April 21, 2014 Share Posted April 21, 2014 وانت تتوقع يوم تسوي هريسة اكواد بيشتغل ؟ .. Link to comment
☠ RaZeR ☠ Posted April 21, 2014 Author Share Posted April 21, 2014 وانت تتوقع يوم تسوي هريسة اكواد بيشتغل ؟ .. ادري انهاا مليان اخطاء :: ارجوا الحل + النصيحة يمكن ليش لا ؟؟! Link to comment
#DRAGON!FIRE Posted April 21, 2014 Share Posted April 21, 2014 اولأ - وش سالفة ( select ) ? ثانيا - من وين جبت player ? ثالثا - ( set ) بجانب سيرفر وهي اصلن تستخدم للـ setting حق الـ resource رابعا - مسوي مليون حدث ويمديكـ تسويهم بحدث واحد خامسا - بكل حدث ناقص عندك اندات سادسا - مو مسوي bindKey لأظهار - اخفاء اللوحة سابعا - تحتاج ( اكاونت داتا ) او ( SQL ) والاثنين بتحتاج بهم تسوي تريقر لجانب سيرفر Link to comment
☠ RaZeR ☠ Posted April 21, 2014 Author Share Posted April 21, 2014 (edited) اغلق الموضوع Edited June 7, 2014 by Guest Link to comment
abu5lf Posted April 21, 2014 Share Posted April 21, 2014 وش الحل ؟؟؟ ههههههههخههههخههههههههخهههههههههه الرجال تعب ونسق المشاركة وتقول وش الحل شوي شوي ي مجرم Link to comment
☠ RaZeR ☠ Posted April 21, 2014 Author Share Posted April 21, 2014 وش الحل ؟؟؟ ههههههههخههههخههههههههخهههههههههه الرجال تعب ونسق المشاركة وتقول وش الحل شوي شوي ي مجرم طيب ممكن ترد عللى سؤالي الي فوق Link to comment
☠ RaZeR ☠ Posted April 21, 2014 Author Share Posted April 21, 2014 هلا عاشق :: بالله تعال سكايب Link to comment
The Killer Posted April 21, 2014 Share Posted April 21, 2014 عشان تحذف الالوان من اسم الاعب يحتاج تحط ذا الكود function removeHex( name ) return type(name)=='string' and string.gsub ( name, '#%x%x%x%x%x%x', '' ) or name end مثال guiSetText (label, removeHex (getPlayerName (localPlayer))) -- label text: (Hex) بيجيك الاسم بدون اللون الي هو الهيكس Link to comment
☠ RaZeR ☠ Posted April 21, 2014 Author Share Posted April 21, 2014 عشان تحذف الالوان من اسم الاعب يحتاج تحط ذا الكود function removeHex( name ) return type(name)=='string' and string.gsub ( name, '#%x%x%x%x%x%x', '' ) or name end مثال guiSetText (label, removeHex (getPlayerName (localPlayer))) -- label text: (Hex) بيجيك الاسم بدون اللون الي هو الهيكس مااشتغل ؟!!@#$$$%%% Link to comment
KING-_-HOHO Posted April 21, 2014 Share Posted April 21, 2014 (edited) وقف كيف انت ماتقدر تعطي نقاط وكود فتح النافذه مو موجود وانت حاذفه على العموم هذه الاصلاحات سويت الاندات بس وضفت كود فتح النافذه اضغط اف ٥ GUIEditor = { gridlist = {}, button = {}, window = {}, GUIEditor.window[1] = guiCreateWindow(114, 56, 613, 413, "xX| لوحة النقاط والمخالفات |Xx", false) playerList = guiCreateGridList(0.01, 0.06, 0.69, 0.92, false) guiGridListAddColumn(playerList, "النقاط", 0.3) guiGridListAddColumn(playerList, "المخالفات", 0.3) GUIEditor.button[1] = guiCreateButton(400, 70, 156, 50, "اعطاء اللاعب نقطة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFE0000") GUIEditor.button[2] = guiCreateButton(422, 292, 156, 50, "حذف مخالفة من اللاعب", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFE0000") GUIEditor.button[3] = guiCreateButton(460, 220, 156, 50, "حذف نقطة من اللاعب", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFE0000") GUIEditor.button[4] = guiCreateButton(120, 100, 156, 50, "اعطاء اللاعب مخالفة", false, GUIEditor.window[1]) guiSetVisible (GUIEditor.window[1], false) ---------------- -----------------فتح النافذه------ -------------------- guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F5", "down", OpenWin) ---------------- -----------------النقاط------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[1] then set(النقاط)+1 end end ---------------- -----------------حذف نقطة------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[3] then set(النقاط)-1 end end ---------------- -----------------المخالفات------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[4] then set(المخالفات)+1 end end ---------------- -----------------حذف مخالفة------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[2] then set(المخالفات)-1 end end Edited April 21, 2014 by Guest Link to comment
shwaeki Posted April 21, 2014 Share Posted April 21, 2014 وقف كيف انت ماتقدر تعطي نقاط وكود فتح النافذه مو موجودوانت حاذفه على العموم هذه الاصلاحات سويت الاندات بس وضفت كود فتح النافذه اضغط اف ٥ GUIEditor = { gridlist = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(114, 56, 613, 413, "xX| لوحة النقاط والمخالفات |Xx", false) playerList = guiCreateGridList(0.01, 0.06, 0.69, 0.92, false) guiGridListAddColumn(playerList, "النقاط", 0.3) guiGridListAddColumn(playerList, "المخالفات", 0.3) GUIEditor.button[1] = guiCreateButton(400, 70, 156, 50, "اعطاء اللاعب نقطة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFE0000") GUIEditor.button[2] = guiCreateButton(422, 292, 156, 50, "حذف مخالفة من اللاعب", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFE0000") GUIEditor.button[3] = guiCreateButton(460, 220, 156, 50, "حذف نقطة من اللاعب", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFE0000") GUIEditor.button[4] = guiCreateButton(120, 100, 156, 50, "اعطاء اللاعب مخالفة", false, GUIEditor.window[1]) guiSetVisible (GUIEditor.window[1], false) ---------------- -----------------فتح النافذه------ -------------------- guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F5", "down", OpenWin) ---------------- -----------------النقاط------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[1] then set(النقاط)+1 end end end ---------------- -----------------حذف نقطة------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[3] then set(النقاط)-1 end end end ---------------- -----------------المخالفات------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[4] then set(المخالفات)+1 end end end ---------------- -----------------حذف مخالفة------ -------------------- addEventHandler ( "onClientGUIClick", getRootElement() , function () select(player) if source == GUIEditor.button[2] then set(المخالفات)-1 end end end اصلا الكود ماله اساس Link to comment
KING-_-HOHO Posted April 21, 2014 Share Posted April 21, 2014 اعرف انه الكود ماله اساس هههههه لانه الاحداث الفنكشنات كلها خطأ ههه Link to comment
The Killer Posted April 21, 2014 Share Posted April 21, 2014 عشان تحذف الالوان من اسم الاعب يحتاج تحط ذا الكود function removeHex( name ) return type(name)=='string' and string.gsub ( name, '#%x%x%x%x%x%x', '' ) or name end مثال guiSetText (label, removeHex (getPlayerName (localPlayer))) -- label text: (Hex) بيجيك الاسم بدون اللون الي هو الهيكس مااشتغل ؟!!@#$$$%%% اذا تعرف تستخدمه زين كان اشتغل , الكود شغال 100% ومافيه اي اخطاء لكن طريقة استعمالك له هي الخاطئه او انك ما سويت اللوحه بالشكل المضبووط زي الي شايفينه فوق 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