Jump to content

iMr.WiFi..!

Members
  • Posts

    2,382
  • Joined

  • Last visited

  • Days Won

    57

Everything posted by iMr.WiFi..!

  1. -- by me function aclGetGroupsName() local wifi = { } for i , g in ipairs (aclGroupList()) do local theName = aclGroupGetName (g) table.insert (wifi,theName) end return wifi end مافهمتها والله الحين انا ابي اربطها بالجريد ليست كيف ؟
  2. مشكورين والله الحين ابرمج والاخطاء انتو تصححوهها
  3. اوك زي ماتشوفون الحين الطلب اكبر واقوى ابي فنكشنات الحين في جريد ليست اوك ؟ الجريد ليست ابي ادخلها كل رتب الاسل مانجر -- بدون ما اسوي لوب ,, يعني واضح ؟ ططيب انا سويت جريد ليست فيه لاعبين اوك ؟ الحين ابي لو حدد على اللاعب يجيه في ال Label معلوماته على الفكرة انا سويت لابلات Account : Nickname : Money : Serial : ----- ---- كيف اخلي الخط الي داخل البوتن كبير ؟ وكييف اتحقق لو كان الي بيفتح اللوحة مو كونسل ؟
  4. والله افادني الدرسس .. شكراً كمل شروحتك .. بتوفيقق .. ♥
  5. الاكواد Loob -- سوي لوب للراديو isElement -- سوي تحقق playSound3D -- ستارت ل صوت او بدء صوت stopSound -- ايقاف الصوت "onClientGUIClick" الاكواد .. وانت سويه الاكواد الجاهزة لا تستعمله بس تعلم من الاكواد الجاهزةة
  6. شككراً هاذي افادة كبيرة منك انت والاخ اوسكار .. اتمنى ان يقفل الموضوع .
  7. مشكور اخوي مقصرت وفقك الله ... الحين صرت اعرف لل جريد ليسست .
  8. local alzr = 'F2' Weather1 ={ {"مشمس", 0}, {"غائم", 54}, {"ضباب", 55}, } Weather2 ={ {"12:00", 12}, {"3:00", 03}, {"9:00", 09}, } GUIEditor = { button = {}, window = {}, label = {}, gridlist = {} } GUIEditor.window[1] = guiCreateWindow(608, 234, 660, 588, "# - الطقس ", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(25, 30, 214, 264, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "# Weather ", 0.6) GUIEditor.gridlist[2] = guiCreateGridList(440, 30, 214, 264, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "#", 0.2) guiGridListAddColumn(GUIEditor.gridlist[2], "# Time ", 0.6) GUIEditor.button[1] = guiCreateButton(177, 445, 295, 101, "# - Set", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.label[1] = guiCreateLabel(299, 24, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.label[2] = guiCreateLabel(299, 82, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) GUIEditor.label[3] = guiCreateLabel(299, 140, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) GUIEditor.label[4] = guiCreateLabel(299, 198, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) for v,mk in ipairs(Weather1) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,"" .. v .. "",false,false) guiGridListSetItemText( GUIEditor.gridlist[1], row,2,mk[1],false,false) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 2,mk[2] ) end for v,mk in ipairs(Weather2) do local row = guiGridListAddRow ( GUIEditor.gridlist[2] ) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,"" .. v .. "",false,false) guiGridListSetItemText( GUIEditor.gridlist[2], row,2,mk[1],false,false) guiGridListSetItemData ( GUIEditor.gridlist[2], row, 2,mk[2] ) end addEventHandler( "onClientGUIClick",GUIEditor.button[1],function( ) if guiGridListGetSelectedItem(GUIEditor.gridlist[1]) == -1 then return end local Weather = guiGridListGetItemText(GUIEditor.gridlist[1],guiGridListGetSelectedItem(GUIEditor.gridlist[1]),1) SetWeather( Source ) -- الحين هنا المشكلة ابي اعرف كيف اخليه يعرف الايدي حق اللوب ؟ end) bindKey (alzr,'down', function () guiSetVisible (GUIEditor.window[1],not guiGetVisible (GUIEditor.window[1])) showCursor (guiGetVisible (GUIEditor.window[1])) end) يخي انا مالي خبرة في الجريد ف اعتذذررر
  9. طيب الحين انا معرف اخليه كلنت بس اعرف كيف اخليه كل لاعبين يشوفون بجرب وانت صحح اخطائي ..
  10. طيب انا مسوي مود كك ؟ مود الطقس فمابحتاج اسوي تريقار من الكلنت لل سيرفر وشش اسوي ؟
  11. طيب في اشخاص يسسون لووب زي كذذا Weapaon ={ S1 , 100 , 200 , s2 , 300 , 100, } مدري كيف يسون اللوب بس يخلونة الفلوس ,الايدي ,اسم السلاح ويجيهم هذا الي كنت اقصدهه
  12. شكراً تمت الافادة من قبل محمد انا قصدي مو جاهز بس افدتني ,, يقفل ..
  13. يالله وش ذا ؟ انا اقولكم ما ابغى لاعبين في الجريد ابغى مثلا 100 200 300 كلها فلوس في الجريد اذا ضغط البوتن تجيه الفلوس الي حددها ..,
  14. لا العكس ابي اللاعيبه يختارون الفلوس من الجريد ليست
  15. الحين الطلب هوو ابي اكواد جاههزة .. امزحح الحين القريد ليست اصعب شيءء عندي بعد ال سكل سكل = SQL __ معلينا الطلب يقولك ي خوي الحين عندي جريد ليسست كك ؟ ابي اذا اختار من الجريد وضغط الزر يعطيه فلوس الطلب واضحح بسس الحين قالولي بتحتاج ------------ guiGridListGetSelectedItem guiGridListGetItemText ------------ طيب كيف اربطهه ؟ يعني الحين لو اختار شيء من الجريد ليست كيف احدد كم يجيه فلوس
  16. يقفل الموضوع ================ الشكر الخاص لسعود ... والشكر المعسور ل ضابل ..
  17. الدي بق "" ERROR:Weather\client.lua:30: attempt to call field '?' (a user data value) #اصحاب_ الثنيان لكل مشكلة حل local alzr = 'F2' Weather1 ={ {"مشمس", 0}, {"غائم", 54}, {"ضباب", 55}, } Weather2 ={ {"12:00", 12}, {"3:00", 03}, {"9:00", 09}, } GUIEditor = { button = {}, window = {}, label = {}, gridlist = {} } GUIEditor.window[1] = guiCreateWindow(608, 234, 660, 588, "# - الطقس ", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(25, 30, 214, 264, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "# Weather ", 0.6) GUIEditor.gridlist[2] = guiCreateGridList(440, 30, 214, 264, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "#", 0.2) guiGridListAddColumn(GUIEditor.gridlist[2] "# Time ", 0.6) GUIEditor.button[1] = guiCreateButton(177, 445, 295, 101, "# - Set", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.label[1] = guiCreateLabel(299, 24, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.label[2] = guiCreateLabel(299, 82, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) GUIEditor.label[3] = guiCreateLabel(299, 140, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) GUIEditor.label[4] = guiCreateLabel(299, 198, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) for v,mk in ipairs(Weather1) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,"" .. v .. "",false,false) guiGridListSetItemText( GUIEditor.gridlist[1], row,2,mk[1],false,false) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 2,mk[2] ) end for v,mk in ipairs(Weather2) do local row = guiGridListAddRow ( GUIEditor.gridlist[2] ) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,"" .. v .. "",false,false) guiGridListSetItemText( GUIEditor.gridlist[2], row,2,mk[1],false,false) guiGridListSetItemData ( GUIEditor.gridlist[2], row, 2,mk[2] ) end bindKey (alzr,'down', function () guiSetVisible (GUIEditor.window[1],not guiGetVisible (GUIEditor.window[1])) showCursor (guiGetVisible (GUIEditor.window[1])) end)
  18. نفس المشكلةة تجيني الشاشةة . في وجهي كك ؟ ويقولي الدي بق: ERROR: Weather\client:24: attempt to index field 'gridlist' ( a nil value ) + local alzr = 'F2' Weather1 ={ {"مشمس", 0}, {"غائم", 54}, {"ضباب", 55}, } Weather2 ={ {"12:00", 12}, {"3:00", 03}, {"9:00", 09}, } GUIEditor = { button = {}, window = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(608, 234, 660, 588, "# - الطقس ", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(25, 30, 214, 264, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "# الطقس ", 0.6) GUIEditor.gridlist[2] = guiCreateGridList(440, 30, 214, 264, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "#", 0.2) guiGridListAddColumn(GUIEditor.gridlist[2] "# الوقت ", 0.6) GUIEditor.button[1] = guiCreateButton(177, 445, 295, 101, "# - Set", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.label[1] = guiCreateLabel(299, 24, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.label[2] = guiCreateLabel(299, 82, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) GUIEditor.label[3] = guiCreateLabel(299, 140, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) GUIEditor.label[4] = guiCreateLabel(299, 198, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) for v,mk in ipairs(Weather1) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,"" .. v .. "",false,false) guiGridListSetItemText( GUIEditor.gridlist[1], row,2,mk[1],false,false) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 2,mk[2] ) end for v,mk in ipairs(Weather2) do local row = guiGridListAddRow ( GUIEditor.gridlist[2] ) guiGridListSetItemText(GUIEditor.gridlist[2],row,1,"" .. v .. "",false,false) guiGridListSetItemText( GUIEditor.gridlist[2], row,2,mk[1],false,false) guiGridListSetItemData ( GUIEditor.gridlist[2], row, 2,mk[2] ) end bindKey (alzr,'down', function () guiSetVisible (GUIEditor.window[1],not guiGetVisible (GUIEditor.window[1])) showCursor (guiGetVisible (GUIEditor.window[1])) end)
  19. الدي بق ERROR: Loading script failed: Weather/Client.lua:2: '}' expected (to close '{' at line 1) near '='
  20. Weather1 = { 1 = { مشمس , 3 } , 2 = { غائم , 9 } , 3 = { ضباب , 8 } } Weather2 = { 1 = { 12:00 } 2 = { 3:00 } 3 = { 9:00 } GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(608, 234, 660, 588, "# - الطقس ", false) centerTheGUI( GUIEditor.window[1] ) setBindKeyWindowShow ( GUIEditor.window[1], "f2" ) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(25, 30, 214, 264, false, GUIEditor.window[1]) GUIEditor.gridlist[2] = guiCreateGridList(440, 30, 214, 264, false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(177, 445, 295, 101, "# - Set", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.label[1] = guiCreateLabel(299, 24, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.label[2] = guiCreateLabel(299, 82, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) GUIEditor.label[3] = guiCreateLabel(299, 140, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) GUIEditor.label[4] = guiCreateLabel(299, 198, 61, 58, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "sa-gothic") guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) end ) function Grid () if soruce = GUIEditor.button[1] then local Weather = GUIEditor.gridlist[1] local Weather2 = GUIEditor.gridlist[2] local column = guiGridListAddColumn ( GUIEditor.gridlist[1] , الطقوس , 1.00 ) local column2 = guiGridListAddColumn ( GUIEditor.gridlist[2] , الاوقات , 1,00 ) if ( column ) then -- If the column was successfully created if ( column2 ) then for v,mk in ipairs(Weather1) do for v,mk in ipairs(Weather2) do --Loop through all the players, adding them to the table local row = guiGridListAddRow ( Weather ) local row2 = guiGridListAddRow ( Weather2 ) guiGridListSetItemText ( Weather, row, column, SetWeather ( Weather1 ), false, false ) guiGridListSetItemText ( Weather2, row2, column2, SetTime ( Weather2 ), false, false ) guiGridListSetItemData ( Weather, row, column, SetWeather(Weather1)) guiGridListSetItemData ( Weather2, row2, column2, SetTime(Weather2)) end end end end end end addEventHandler ( "onClientGUIClick", source, Grid ) local sx, sy = guiGetScreenSize() function centerTheGUI( guiElement ) local width, height = guiGetSize( guiElement, false ) local x, y = sx / 2 - width / 2, sy / 2 - height / 2 guiSetPosition( guiElement, x, y, false ) end setBindKeyWindowShow = function ( guiWindow, key ) if guiWindow and key then if getElementType ( guiWindow ) == "gui-window" then guiSetVisible ( guiWindow, false ); local setBindKey_ = function ( key ) guiSetVisible ( guiWindow, not guiGetVisible ( guiWindow ) ); showCursor ( guiGetVisible ( guiWindow ) ); end return bindKey ( key, "down", setBindKey_ ); else return false; end else return false; end end فيهه مشككلةة وشش ههي ؟ اولا مايفتح
  21. مشكور سعود .. طيب سعود سولي اي لوب معرفت اسويه .. يعني نسيت الطريقة
  22. احتاج فنكشنات مود الطقس ... في حاجة انا بخلي الطقوس في الجريد ليست ..
  23. انشاءالله تتعلم اكثر واكثر مود رائع ...
  24. طيب وش سويت انت ؟ كان كذا triggerServerEvent ( "Give", localPlayer,) وشلت الفاصلة وصار كذا triggerServerEvent ( "Give", localPlayer) لانه قال المشكلة من الكود ..
×
×
  • Create New...