-
Posts
906 -
Joined
-
Last visited
Everything posted by SaedAmer
-
مثلا اكتب في ف8 ميوت يعطيني ميوت و اكت تاني فك ميوت يفك الميوت -----------خ انا ابي كود يجيب اسماء العيبين الي في السيرفر دلوقتي مب لسة هيسجلو
-
وكود تاني يجيبلي كل اسماء العبين و حسابتهم سيريالهم في جريد لست
-
السلام عليكم ابي كود لما اكتب حاجة في ف8 يفعل الكود الي بالتريقر الي في السيرفر سايد و كود تاني لو كتبت كلمة في ف8 تقفل الكود الاول و تشغل الكود التاني
-
اخي الكود ده حق التاج الي في الشات مثال انا عاوز كود يغير لون الكلام الي في الشات مثال
-
اخ اوسكار يفتح من ف8 كلنت؟ و التحقق الاسل سيرفر؟
-
ك كود يقتح الوحة من ف8 و كود يخلي الوحة للكونسول فقط
-
اشتغل طيب لو عاوز اضيف طريقة الدفع ------ عاوز لما اضغط علي المعلومات تظهر في ال 4 ايدت باطريقة الدفع **
-
ايه الخطأ هنا الكود شغال بس لا يرسل الكلام الي الكريد لست addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[3] ) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) elseif ( source == GUIEditor.button[1] ) then if ( guiGetText ( GUIEditor.edit[1] ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[3] ) ~= '' ) then local row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],guiGetText(GUIEditor.edit[1]),false,false) guiGridListSetItemText (GUIEditor.gridlist[1],guiGetText(GUIEditor.edit[2]),false,false) guiGridListSetItemText (GUIEditor.gridlist[1],guiGetText(GUIEditor.edit[3]),false,false) end end end )
-
اخي الكود ده حق التاج الي في الشات مثال انا عاوز كود يغير لون الكلام الي في الشات مثال
-
خلاص مشكور اخ عناد علي المساعده
-
الوحة مش بتفتح local screenW, screenH = guiGetScreenSize() GUIEditor.window[2] = guiCreateWindow((screenW - 315) / 2, (screenH - 168) / 2, 315, 168, ":: تاج في الشات ::", false) guiWindowSetSizable(GUIEditor.window[2], false) guiSetProperty(GUIEditor.window[2], "CaptionColour", "FFF1BE0D") GUIEditor.edit[1] = guiCreateEdit(100, 38, 177, 20, "", false, GUIEditor.window[2]) GUIEditor.edit[2] = guiCreateEdit(100, 107, 177, 20, "", false, GUIEditor.window[2]) GUIEditor.label[4] = guiCreateLabel(14, 39, 72, 19, " -< التاج >- ", false, GUIEditor.window[2]) GUIEditor.label[5] = guiCreateLabel(4, 108, 90, 19, "-< لون الكلام >-", false, GUIEditor.window[2]) GUIEditor.button[7] = guiCreateButton(306, 24, 0, 15, "", false, GUIEditor.window[2]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFAAAAAA") GUIEditor.button[8] = guiCreateButton(283, 24, 23, 19, "X", false, GUIEditor.window[2]) guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFFFFFFF") GUIEditor.button[9] = guiCreateButton(10,140, 95, 17, "-< تفعيل التاج >-", false, GUIEditor.window[2]) guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFFFFFFF") GUIEditor.button[10] = guiCreateButton(10+95, 140, 95, 17, "-< حذف التاج >-", false, GUIEditor.window[2]) guiSetProperty(GUIEditor.button[10], "NormalTextColour", "FFFFFFFF") GUIEditor.label[6] = guiCreateLabel(104, 68, 140, 15, "~~~~~~~~~", false, GUIEditor.window[2]) guiSetFont(GUIEditor.label[6], "sa-gothic") guiLabelSetColor(GUIEditor.label[6], 239, 200, 21) GUIEditor.label[7] = guiCreateLabel(100, 88, 186, 15, "مثال لون التاج >> الاحمر FF0000#", false, GUIEditor.window[2]) guiLabelSetColor(GUIEditor.label[7], 254, 254, 254) GUIEditor.label[8] = guiCreateLabel(204, 141, 117, 17, "Created By #Saed", false, GUIEditor.window[2]) guiLabelSetColor(GUIEditor.label[8], 254, 5, 5) guiSetVisible ( GUIEditor.window[2],false ) addEventHandler("onClientGUIClick",root,function() if guiCheckBoxGetSelected(GUIEditor.checkbox[5]) == true then guiSetVisible( GUIEditor.window[2], true) -- لو حددت ع التشيك بوكس يفتح اللوحه guiSetVisible( GUIEditor.window[1], false) end if(source == GUIEditor.button[8]) then guiSetVisible( GUIEditor.window[2], false) -- لو شيلت التحديد يقفل اللوحه guiSetVisible( GUIEditor.window[1], true) end end ) الشيك بوكس الي لما احدد عليه تفتح الوحة GUIEditor.checkbox[5] = guiCreateCheckBox(10, 79, 136, 15, "تاج في الشات ", false, false, GUIEditor.gridlist[2]) guiSetProperty(GUIEditor.checkbox[5], "NormalTextColour", "FF5C60FE")
-
الكود الاول في خطأ ؟ Serial = { [" "] = true, [" "] = true, } local Key = "o" bindKey(Key,"down",function ( ) local PlayerSerial = getPlayerSerial(localPlayer) if ( Serial[PlayerSerial] ) then guiSetVisible( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) else outputChatBox ( "لا تملك التصريح لـفـتح نـظـام الإسـتـئـجـار", math.random( 255 ), math.random( 255 ), math.random( 255 ), true) end end ) ثواني بجهز التاني
-
انت كفووو اخر حاجة كود يخلي الوحة تفتح للي محطوت سيريالو و انا معي لوحة فيها 4 ايدت عاوز الي يكتب في ال 4 ايدت دول و يدوس غلي بطن اسمو ارسال المود ينشئ ملف توب باد اي شئ مثل هذا و يحط فيها المعلومات الي اتكتبت في ال 4 ايدت كلمة شكرا لا تكفي تعبتك معي
-
مشكور اخي طيب دلوقتي انا معاية ايدت عاوز الي يتكتب في الادت ده يعمل تاج مثال *[هنا الكلام الي يتحط في الادت -- يظهر هنا] SaedAmer: و اديت تاني يغر لون الكلام في الشات مثال *[saed] SaedAemer: هنا لون الكلام يتغير و بطن يفعل الاكواد السابقة
-
هو ايه الكود الي انت ادتهوني ده ؟؟ انا عاوز كود اول ما احدد شيك بوكس تظهر اللوحة دي GUIEditor = { button = {}, window = {}, label = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 315) / 2, (screenH - 168) / 2, 315, 168, ":: تاج في الشات ::", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF1BE0D") GUIEditor.edit[1] = guiCreateEdit(100, 38, 177, 20, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(100, 107, 177, 20, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(14, 39, 72, 19, " -< التاج >- ", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(4, 108, 90, 19, "-< لون الكلام >-", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(306, 24, 0, 15, "", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(283, 24, 23, 19, "X", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFFFFFF") GUIEditor.button[3] = guiCreateButton(29, 140, 99, 18, "-< تفعيل التاج >-", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFFFFFF") GUIEditor.label[3] = guiCreateLabel(104, 68, 140, 15, "~~~~~~~~~", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetColor(GUIEditor.label[3], 239, 200, 21) GUIEditor.label[4] = guiCreateLabel(100, 88, 186, 15, "مثال لون التاج >> الاحمر FF0000#", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 254, 254, 254) GUIEditor.label[5] = guiCreateLabel(204, 141, 117, 17, "Created By #Saed", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 254, 5, 5) end )
-
GUIEditor = { button = {}, window = {}, label = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 315) / 2, (screenH - 168) / 2, 315, 168, ":: تاج في الشات ::", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF1BE0D") GUIEditor.edit[1] = guiCreateEdit(100, 38, 177, 20, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(100, 107, 177, 20, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(14, 39, 72, 19, " -< التاج >- ", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(4, 108, 90, 19, "-< لون الكلام >-", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(306, 24, 0, 15, "", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(283, 24, 23, 19, "X", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFFFFFF") GUIEditor.button[3] = guiCreateButton(29, 140, 99, 18, "-< تفعيل التاج >-", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFFFFFF") GUIEditor.label[3] = guiCreateLabel(104, 68, 140, 15, "~~~~~~~~~", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetColor(GUIEditor.label[3], 239, 200, 21) GUIEditor.label[4] = guiCreateLabel(100, 88, 186, 15, "مثال لون التاج >> الاحمر FF0000#", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 254, 254, 254) GUIEditor.label[5] = guiCreateLabel(204, 141, 117, 17, "Created By #Saed", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 254, 5, 5) end )
-
سؤال هو المود يشتغل لو سيرفر محلي يشتغل علي ساعة الحاسوب الخاص بي ؟
-
المفرود ان مثلا لما تيجي الساعة 12 تماما تظهر الوحة و يتكتب في اليبل زي ما موجود elseif prayer == "duhr" then guiSetText( label, "حان الآن موعد أذان الظهر" ) guiSetVisible( window, true ) setTimer(guiSetVisible, 1000*60*5, 1, window, false)
-
طيب لو ب ساعه سيرفر محلي ؟
-
كور انا جرب محاولتين بس ما بعرف صح ولا لا المحاولة الاولة addEventHandler( 'onClientGUIClick', root, function checkboxBleepWhenClicked() if ( getElementType(source) == "GUIEditor.checkbox[5]" ) then guiSetVisible( GUIEditor.window[2], true) guiSetInputEnabled(true) showCursor(true) then guiSetVisible( GUIEditor.window[1], false) end end ) الثانية addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[5] and guiCheckBoxGetSelected(GUIEditor.checkbox[5]) == true then guiSetVisible( GUIEditor.window[2], true) elseif source == GUIEditor.checkbox[5] and guiCheckBoxGetSelected(GUIEditor.checkbox[5]) == false then guiSetVisible( GUIEditor.window[2], false) end end ) بالنسبة للبطن ينفع ارفع اكواد الوحة تاني علي guieditor و لو ينفع كيف ؟
-
اخوي عناد الكود ما اشتغل الكود GUIEditor = { window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(543, 488, 257, 112, "لا تدع اللعب يلهيك عن اداء الصلاة", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.staticimage[1] = guiCreateStaticImage(10, 34, 63, 58, ":guieditor/images/Kaabh.png", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(80, 44, 167, 38, "", false, GUIEditor.window[1]) guiSetVisible ( GUIEditor.window[1],false ) window=GUIEditor.window[1] label=GUIEditor.label[1] end ) addEvent("onPrayerTime", true) function createPrayerWindow(prayer) if prayer == "fajr" then guiSetText( label, "حان الآن موعد أذان الفجر" ) guiSetVisible( window, true ) setTimer(guiSetVisible, 1000*60*5, 1, window, false) elseif prayer == "duhr" then guiSetText( label, "حان الآن موعد أذان الظهر" ) guiSetVisible( window, true ) setTimer(guiSetVisible, 1000*60*5, 1, window, false) elseif prayer == "asr" then guiSetText( label, "حان الآن موعد أذان العصر" ) guiSetVisible( window, true ) setTimer(guiSetVisible, 1000*60*5, 1, window, false) elseif prayer == "maghrib" then guiSetText( label, "حان الآن موعد أذان المغرب" ) guiSetVisible( window, true ) setTimer(guiSetVisible, 1000*60*5, 1, window, false) elseif prayer == "isha" then guiSetText( label, "حان الآن موعد أذان العشاء" ) guiSetVisible( window, true ) setTimer(guiSetVisible, 1000*60*5, 1, window, false) end end addEventHandler ( "onPrayerTime", root, createPrayerWindow) -- server local prrTimes={ ["fajr"] = { 22, 16 }, ["duhr"]= { 10, 16 }, ["asr"]= { 3, 30 }, ["maghrib"] = { 5, 25 }, ["isha"] = { 7, 15 }, -- { h, m } } -- h = ساعة الاذان , m = دقيقة الاذان function loadTime() local time=getRealTime() local h=time.hour local m=time.minute for names, times in pairs( prrTimes ) do local hours, minutes = unpack ( times ) if hours == h and minutes == m then triggerClientEvent( "onPrayerTime", resourceRoot, names) killTimer( timer ) setTimer( function () setTimer( function() loadTime() end, 50, 0 ) end, 1000*60*10, 1) end end end timer=setTimer( function () loadTime() end , 50, 0 ) ملحوظة ** انا غيرت وقت اذان الظهر و الفجر عشان اجرب في وقتي الحالي
-
اوسكار طيب دلوقتي ينفع اخي لما اضغط علي شيك بوكس تظهر لوحة ؟ و معي لوحة حبيت اضيف بوطن زياده عملت البوطن و ركبتو بالوحة بس مش بيظهر ايه حلها ؟