Jump to content

~Mr.Hassan

Members
  • Posts

    374
  • Joined

  • Last visited

Everything posted by ~Mr.Hassan

  1. هذا الحدث مو للأزرار بس + ماحط تحقق اذا ضغطه سطر 3
  2. addEventHandler ( "onClientGUIClick", root, function ( ) if guiCheckBoxGetSelected(GUIEditor.checkbox[2]) == true then guiSetEnabled ( GUIEditor.button[1] , true ) elseif guiSetEnabled ( GUIEditor.button[1] , false) end end )
  3. https://www.google.co.il/?gfe_rd=cr&ei= ... #q=chekBox افهمها من هنا ضض
  4. السلام عليكم ابي اعمل لوحه شراء فيب عملت chekBox بس ابي الاعب لما يضغط عاى الكيك بوكس البوتون يفتح لو ما ضغط ما يفتح وشكرا
  5. الحين لما اضغط login لا يقلي سجلت ولا يقفل الوحه ذذ
  6. نفس المشكله القوس سطر 15 الحين صار بل كود الي عطيتني ياه
  7. سفاح كودك يقلي فيه مشكله بسطر 42 القوس حاولت اصلحه ما يتصلح وعندك اند ناقص اتوقع
  8. وقت اشيلهم يصير مشكله بدي بوق
  9. لا الاديت عملته خخ ظل السيرفر مدري وش به شوف ردي فوق
  10. Server,lua:15 Bad argument @ 'logIn [ Expected account ar argument 2, got boolean] ظبطت بعض الاشياء ظلت دي المشكله ما اعرف شو بيها addEvent ( "Register", true ) addEventHandler ( "Register", root, function ( Username, Password ) local AccountAdded = addAccount ( Username, Password ) if ( AccountAdded ) then outputChatBox ( "لقد نجحت في تسجيل الدخول في سيرفر قوات الزومبي حياككك الله", source, 255, 255, 255, true ) else outputChatBox ( "لم يتم تسجيل الدخول تحقق من معلومات حسابك او هذا الحساب موجود بالفعل", source, 255, 0, 0, true ) end end ) addEvent ( "Login", true ) addEventHandler ( "Login", root, function ( Username, Password ) local Account = getAccount ( "Username", "Password" ) local Logined = logIn ( source, Account, "Password" ) if ( Logined ) then outputChatBox ( "تم التسجيل بنجاح", source, 255, 255, 255, true ) else outputChatBox ( "لم يتم تسجيل الدخول تحقق من معلومات حسابك او هذا الحساب موجود بالفعل", source, 255, 0, 0, true ) end end )
  11. بس احط الايميل وكل شيئ واضغط على البوتون يقلي خطا ونفس شيئ بتسجيل انا عامل ايدين كلمه مرور واسم للتسجيل دخول و لتسجيل حساب نفس شيئ ايدين اضافين والمشكله يقلي خطا
  12. يب اخذتها من هنا شوف الموضوع قلتلك بدات ادور عملت فوق ال 20 كود بس اختهم من المنتدى
  13. + بلاك ذي الاكواد GUIEditor = { edit = {}, button = {}, window = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(186, 86, 456, 374, "Server Zombie [H.S] سيرفر قوات الزومبي", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(0, -121, 146, 37, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(17, 32, 158, 34, "UserName :", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(17, 99, 130, 33, "PassWord :", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(84, 32, 125, 18, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(-232, 154, 170, 75, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(79, 99, 120, 18, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(19, 142, 118, 57, "Login", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(11, 240, 96, 30, "Name :", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(13, 287, 94, 38, "Password :", false, GUIEditor.window[1]) GUIEditor.edit[3] = guiCreateEdit(52, 240, 127, 20, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(72, 288, 126, 20, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(78, 318, 116, 46, "Register", false, GUIEditor.window[1]) GUIEditor.memo[1] = guiCreateMemo(340, 20, 106, 344, "Wellcome To Server Professionals Zombie ...\n\n\nProngram :\n\n1- Hassan\n\n2 - soon\n\n3 - soon\n\n4 - soon\n=======", false, GUIEditor.window[1]) end ) ---------------------- addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[1] ) then UserName = guiGetText ( log1 ) PassWord = guiGetText ( log2 ) triggerServerEvent ( "Register", localPlayer, Username, Password ) elseif ( source == GUIEditor.button[2] ) then UserName = guiGetText ( log3 ) -- اسم الأيدت الاول PassWord = guiGetText ( log4 ) -- اسم الأيدت الثاني triggerServerEvent ( "Login", localPlayer, Username, Password ) end end ) ------------------------------------------------------------------------------------- سيرفر addEvent ( "Register", true ) addEventHandler ( "Register", root, function ( Username, Password ) local AccountAdded = addAccount ( Username, Password ) if ( AccountAdded ) then outputChatBox ( "لقد نجحت في تسجيل الدخول في سيرفر قوات الزومبي حياككك الله", source, 255, 255, 255, true ) else outputChatBox ( "لم يتم تسجيل الدخول تحقق من معلومات حسابك او هذا الحساب موجود بالفعل", source, 255, 0, 0, true ) end end ) addEvent ( "Login", true ) addEventHandler ( "Login", root, function ( Username, Password ) local Account = getAccount ( Username, Password ) local Logined = logIn ( source, Account, Password ) if ( Logined ) then outputChatBox ( "تم التسجيل بنجاح", source, 255, 255, 255, true ) else outputChatBox ( "لم يتم تسجيل الدخول تحقق من معلومات حسابك او هذا الحساب موجود بالفعل", source, 255, 0, 0, true ) end end ) كل ما اسجل يقلي خطا خطا خطا خطا مدري وش
  14. السلام عليكم علموني كيف اعمل لوحه تسجيل بالله عملت 20 لوحه باكواد مختلفه ولا واحده ظبطت بالله علموني ما ابي اكواد جاهزه وتلولي خذ
  15. تم اما بس اموت ما يروح العلم وكمان ما ينتقلعندي شخص
  16. الدي بوق ما يقلي شيئ وكمان ما يصير علامتي علم ولا شيئ
  17. شو الغلط GUIEditor = { button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(283, 301, 110, 45, "~ Mr. Hassan", false) guiSetAlpha(GUIEditor.button[1], 0.00) bilz = guiCreateButton(283, 233, 192, 50, "", false) guiSetAlpha(xbil, 0.00) hassan = guiCreateButton(242, 331, 126, 42, "", false) guiSetAlpha(hassan, 0.00) bilb1 = guiCreateEdit(282, 184, 229, 23, "", false) end ) addEventHandler("onClientRender", root, function() dxDrawLine(237 - 1, 154 - 1, 237 - 1, 378, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(532, 154 - 1, 237 - 1, 154 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(237 - 1, 378, 532, 378, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(532, 378, 532, 154 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(237, 154, 295, 224, tocolor(131, 242, 12, 255), false) dxDrawLine(235, 169, 532, 169, tocolor(253, 0, 0, 255), 1, false) dxDrawText("Mod Flag By ~ Mr.Hassan", 299 - 1, 155 - 1, 463 - 1, 169 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, true, false) dxDrawText("Mod Flag By ~ Mr.Hassan", 299 + 1, 155 - 1, 463 + 1, 169 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, true, false) dxDrawText("Mod Flag By ~ Mr.Hassan", 299 - 1, 155 + 1, 463 - 1, 169 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, true, false) dxDrawText("Mod Flag By ~ Mr.Hassan", 299 + 1, 155 + 1, 463 + 1, 169 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", false, false, false, true, false) dxDrawText("Mod Flag By ~ Mr.Hassan", 299, 155, 463, 169, tocolor(232, 20, 214, 255), 1.00, "default-bold", "center", "center", false, false, false, true, false) dxDrawLine(283 - 1, 233 - 1, 283 - 1, 283, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(475, 233 - 1, 283 - 1, 233 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(283 - 1, 283, 475, 283, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(475, 283, 475, 233 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(283, 233, 192, 50, tocolor(146, 153, 96, 255), false) dxDrawText("Set", 283 - 1, 233 - 1, 475 - 1, 283 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", false, false, false, true, false) dxDrawText("Set", 283 + 1, 233 - 1, 475 + 1, 283 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", false, false, false, true, false) dxDrawText("Set", 283 - 1, 233 + 1, 475 - 1, 283 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", false, false, false, true, false) dxDrawText("Set", 283 + 1, 233 + 1, 475 + 1, 283 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", false, false, false, true, false) dxDrawText("Set", 283, 233, 475, 283, tocolor(18, 224, 237, 255), 1.00, "pricedown", "center", "center", false, false, false, true, false) dxDrawText("Serial :", 240 - 1, 185 - 1, 309 - 1, 211 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("Serial :", 240 + 1, 185 - 1, 309 + 1, 211 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("Serial :", 240 - 1, 185 + 1, 309 - 1, 211 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("Serial :", 240 + 1, 185 + 1, 309 + 1, 211 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("Serial :", 240, 185, 309, 211, tocolor(254, 0, 1, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawLine(243 - 1, 331 - 1, 243 - 1, 373, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(368, 331 - 1, 243 - 1, 331 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(243 - 1, 373, 368, 373, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(368, 373, 368, 331 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(243, 331, 125, 42, tocolor(206, 11, 241, 255), false) dxDrawText("~ Mr. Hassan", 242 - 1, 330 - 1, 368 - 1, 373 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false) dxDrawText("~ Mr. Hassan", 242 + 1, 330 - 1, 368 + 1, 373 - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false) dxDrawText("~ Mr. Hassan", 242 - 1, 330 + 1, 368 - 1, 373 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false) dxDrawText("~ Mr. Hassan", 242 + 1, 330 + 1, 368 + 1, 373 + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false) dxDrawText("~ Mr. Hassan", 242, 330, 368, 373, tocolor(184, 232, 18, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false) end ) ------------------------------------------------- function getPlayerFromSerial ( serial ) if serial and type(serial) == "tostring(bilb)" then for i, v in ipairs(getElementsByType("player")) do if getPlayerSerial(v) == serial then return v end end end return false end addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == bilz ) then local bilb = guiGetText(bilb1) if ( bilb1 ~= " " ) then local Player = getPlayerFromSerial ( bilb1 ) triggerServerEvent("bilz", localPlayer, Player) end end end ) addEvent ( "bilz", true ) addEventHandler ( "bilz", root, function ( Player ) if ( Player ) then createBlipAttachedTo ( Player , 19 ) end end ) يقلي الدي بق من guigettext فيه مشكله مدري وش
  18. بس انا ابيه لما يحط سيريال واحد ويضغط على البوتون يصير الحدث
  19. للأسف الشخصين ذول الي كلمتهم غير جديرين بالثقة أنا إذا احد طلب مني ابرمج له و وافقت ابرمج ادخله سيرفري اللوكل و ابرمج و هو يشوفني و انا ابرمج و يعطي رايه و انا ابرمج عشان بعدين ما يقول ما عجبه مرات ابرمج لشخص و بعدين يسحب يعني مو بس انت الي ينسحب عليك طبعاً كل الي سحبو مصريين امس واحد مكلمني و انا كنت نايم يبي ابرمج له و سادح ارقام 3 بطاقات كاش يو فئة 10 دولار وانا حتى ما رديت و قلت موافق ثقة عمياء و المود الي يبيه ما يستاهل 30 دولار بس شكله ما عنده مشاكل مع الفلوس ما يستفيد يدفع لك عشان تعلمه افضل مشان هو يصير يعمل المودات الي يبيها متى يبي يعمل الخ ....
  20. addEventHandler ( "onClientGUIClick", root, function ( ) if source == bilz then local bilb = guiGetText(Name Edit) triggerServerEvent("bilz", localPlayer, bilb) end end ) --------------------------------- addEvent ( "bilz", true ) addEventHandler ( "bilz", root, function ( bilb ) if ( getPlayerFromSerial( "tostring(bilb)" ) ) then createBlipAttachedTo ( source , 19 , 255 , 255 ,255 ,255 ) end end )
  21. للحين كذا وصلت شوفو لو صحيح لاعمل اول ما يموت addEventHandler ( "onClientGUIClick", root, function ( ) if source == bilz then local bilb = guiGetText(Name Edit) triggerServerEvent("bilz", localPlayer, bilb) end end ) --------------------------------- addEvent ( "bilz", true ) addEventHandler ( "bilz", root, function ( bilb ) if getPlayerSerial ( ) == 'tostring(bilb)' then createBlipAttachedTo ( source , 19 , 255 , 255 ,255 ,255 ) end end )
  22. بس كيف الزق البيلب بالاعب ؟
×
×
  • Create New...