Jump to content

[#]~>Abo'ALnshmy_979!!

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by [#]~>Abo'ALnshmy_979!!

  1. -- حط السيريالات هنا local Serials = { ["sssssssssssssssssssssssssssssss"] = true, } GUIEditor = { button = {}, window = {}, edit = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 293) / 2, (screenH - 113) / 2, 293, 113, "توزيع السلحة", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(9, 31, 182, 32, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(191, 32, 91, 35, "اعطاء اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF12FE00") guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF12FE00") GUIEditor.button[3] = guiCreateButton(9, 67, 91, 35, "اغلاق", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF12FE00") GUIEditor.button[4] = guiCreateButton(192, 67, 91, 35, "اعطاء الكل اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF12FE00") addEventHandler("onClientGUIClick",root,function () if source == GUIEditor.button[1] then local houres = guiGetText(GUIEditor.edit[1]) triggerServerEvent("Give;Houres",localPlayer,houres) elseif source == GUIEditor.button[2] then triggerServerEvent("Enable;Houres",localPlayer,'true') elseif source == GUIEditor.button[4] then triggerServerEvent("Enable;Houres",localPlayer,'false') elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end) guiSetVisible (GUIEditor.window[1], false ) function OpenWin() if Serials[getPlayerSerial(localPlayer)] then 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 end bindKey("F2", "down", OpenWin) ....السلام عليكم F2..اريد مساعدة في هذا كود , هذا كود يفتح لوحة عن طريق اريد بدل ما يفتح من زر اف 2 اريد يفتح عن طريق كلمة من اف 8 وعن طريق سريال مثل اف 2 F2 للعلم لوحة تفتح على سريال واتمنى تساعدوني وشكرا
  2. يسلمو ما قصرتو الحين بروح اجرب الحين كودات نفس بعد حق كلير وحقك يعطيك الف عافية
  3. السلام عليكم ذي لوحة تفتح في اف 4 واريد هذا لوحة تفتح على سريال ممكن تعطوني كود سريال وتركبو في ذي كودات الوحة ويريت لو تحطون 5 سريالات وانا اعدل بعدين على سريالات وشكرا لكم --- Edit by TNT GUIEditor = { button = {}, window = {}, edit = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 293) / 2, (screenH - 113) / 2, 293, 113, "توزيع السلحة", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(9, 31, 182, 32, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(191, 32, 91, 35, "اعطاء سلاح", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF12FE00") GUIEditor.button[2] = guiCreateButton(100, 67, 91, 35, "اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF12FE00") GUIEditor.button[3] = guiCreateButton(9, 67, 91, 35, "اغلاق", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF12FE00") GUIEditor.button[4] = guiCreateButton(192, 67, 91, 35, "اعطاء الكل اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF12FE00") addEventHandler("onClientGUIClick",root,function () if source == GUIEditor.button[1] then local houres = guiGetText(GUIEditor.edit[1]) triggerServerEvent("Give;Houres",localPlayer,houres) elseif source == GUIEditor.button[2] then triggerServerEvent("Enable;Houres",localPlayer,'true') elseif source == GUIEditor.button[4] then triggerServerEvent("Enable;Houres",localPlayer,'false') elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end) guiSetVisible (GUIEditor.window[1], false ) function OpenWin() if guiGetVisible (GUIEditor.window[1]) then guiSetVisible (GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else triggerServerEvent("SHOW_s",localPlayer) end end bindKey("F4", "down", OpenWin) addEvent('SHOW',true) addEventHandler('SHOW',root, function () guiSetVisible (GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end )
  4. للاسف المود يسوي لاق في سيرفر FPS ينزل عند كل لاعبين ويعلق سيرفر
  5. مشكور اخوي العزيز ومشكور للكل الي شارك معي في مساعدة كودات يعطيكم الف عافية تم الافادة وشكرا لكم
  6. شكرا على مساعدتك لكن كودك بعيد عن موضوع لان كود حقك هو مود يفتح في لوحة تعبتك معي.. الحين بطرح كود حقي كامل ..كان لازم من بداية اطرحة لكن قلت اريد اركب كوادت اتعلم برمجة لكن خلاص بطرح موضوعي كامل.. هذا مثال :- GroupsOpen = { "Group" , "Group" , "Group" , "Group" , "Group" , "Group" } -- Group القروبات التفتح اللوحة التبيها انت حطها بدال كلمة هذا كود كامل حقي لكن اريد يفتح اكثر من قروب بدل كونسل اعتقد واضح هنا موضوعي ابيه يفتح اكثر من قروب addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* DONE",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("",player,255,0,0) end else outputChatBox("",player,255,0,0) end end end )
  7. عندي مود في امر ينكتب في اف 8 والحين اريد رتب محددة تكتب ذا الامر في اف 8 موب بس كونسل يكتب الامر اعتقد واضح..!
  8. السلام عليكم... مطلوب كود قروب + كيف اضيف اكثر من رتبة في قروب في نفس كود لاني محتاجة في مود والمود عبارة عن امر تكتبة في اف 8 عايز بس اصحاب رتب الي في القروب يكتبونة مثال:- هذا قروب كونسل عايز اضيف في كمان 4 قروبات كيف ؟ انا حاولت كثير لكن فشلت if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then
  9. مشكووور اخوي على مساعدة تم الافادة ق8
  10. اريد لما اكتب في اف 8 givetime يشتغل على رتبة اي يعني اسوي له قروب للكونسل فقط يقدر يكتب في اف 8 ذي خاصية addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end )
  11. طيب اعطني رابط المود الاخير بدون لاق اجربة ورد عليك لو سمحت لاني تخربطط في روابط ما ودي اظلمك بعدين
  12. للعلم انا غيرت صورة لكن ما اظن ذي سبب ؟ اعطني رابط او ملف الي عندك شغال تمام
  13. قبل نص ساعة ركبتة في سيرفر وبعدين جاه لاق الله اعلم كيف طفيت المود نزل الفبس عند كل لاعبين وجاهم لاق شنيع
  14. الحين المود في لاق الفبس ولا لا.. ركبت المود في صار وعلق ام سيرفر ونزل الفبس وهل الاصدار الجديد الاخير شغال بدون لاق ؟؟
×
×
  • Create New...