Jump to content

~Mr.Hassan

Members
  • Posts

    374
  • Joined

  • Last visited

Everything posted by ~Mr.Hassan

  1. الهاد يب انا اجيب واحد من الانترنت مو مشكله بس كيف اضيفه للوا للغه الوا ؟؟ واخليه كمود
  2. السلام عليكم شباب كيف اعمل هاد جديد لسيرفيري\ وشششششششششششششششششششششكرا
  3. وربي مو شغال شغلته اما بس اسجل يقلي التسجيل خطا والايميل صحيح مدري ليش وحاطه بقروب الادمن
  4. شوفو شو يقلي الاخطاء الدي بوق
  5. خلاص باين تعبتكم بس عملت لوحه تسجيل دخول كل ما احط ايميلي والباس يقلي التسجيل خطا مدري وش الاكواد وضفت المود لقروب الادمن الكلينت 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 triggerServerEvent("onLogin",getRootElement(),getLocalPlayer(),guiGetText(log1),guiGetText(log2) ) elseif source == 1 then guiSetVisible(wnd,false) showCursor(false) showChat(true) fadeCamera(true,5) elseif source == GUIEditor.button[2] then triggerServerEvent("onReg",getRootElement(),getLocalPlayer(),guiGetText(reg1),guiGetText(reg2) ) end end ) addEvent("Hidewindow",true) addEventHandler("Hidewindow",root, function () guiSetVisible(GUIEditor.window[1] ,false) showCursor(false) showChat(true) fadeCamera(true,5) end ) السيرفر addEvent("onLogin", true) addEventHandler("onLogin",root, function (player, user, pass, NameAccount, Password) local account = getAccount ( user, pass ) if ( account ~= true ) then if (logIn ( player, account, pass ) == true) then outputChatBox ( "=[ تم تسجيل الدخول لسيرفر قوات الزومبي !! ]=", player, 255, 255, 0 , true ) triggerClientEvent (player, "Hidewindow", player) else outputChatBox ( "=[ التسجيل خطا ]=", player, 255, 0, 0 ) end else outputChatBox ( "=[ خطا باسم الحساب والباس ]=", player, 255, 0, 0 ) end end ) -- addEvent("onReg", true) addEventHandler("onReg",root, function ( player, user, pass, NameAccount, Password ) local account = getAccount ( user, pass ) if ( account ~= false ) then if (logIn ( player, account, pass ) == true) then outputChatBox ( "=[ لقد تم تسجيل حساب لك في سيرفر قوات الزومبي بنجاح ]=", player, 255, 255, 0 ) triggerClientEvent (player, "Hidewindow", player) else outputChatBox ( "=[ لقد تم تسجيل دخولك ]=", player, 255, 255, 0 ) triggerClientEvent (player, "Hidewindow", player) end else account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then outputChatBox ( "=[ لقد تم تسجيل حساب لك في سيرفر قوات الزومبي بنجاح ]=", player, 255, 255, 0 ) triggerClientEvent (player, "Hidewindow", player) else outputChatBox ( "=[ التسجيل خطا ]=", player, 255, 0, 0 ) end end end )
  6. وربي ما صار شيئ كتبت ال ايدي ول ذخيره والشات ولا واحد عمل كانه ما فيه بوتون كانه البوتون زينه تضغط عليه ما صار شيئ
  7. يب مثال خلاط 38 صلحتهم يب كان فيه 3 اقواس زايدات ما عطاني لا خلاط ولا شيئ
  8. صلحتهم اما بس فتحت الوحه وضغط take ما عطاني شيئ
  9. 'then' expected near ')' -- 60 '' expected near 'end' --- 64 '' expected near 'end' --- 65 '' expected near 'end' --- 66 client
  10. اول تكست ابيه يحط فيه اي دي السلاح الي يبي يوزعه ثاني تيكست عدد الرصاصات ثالث تيكست سبب التوزيع
  11. ما ظبط كلنت GUIEditor = { button = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() button1 = guiCreateButton(273, 302, 110, 45, "", false) guiSetAlpha(GUIEditor.button[1], 0.00) button2 = guiCreateButton(462, 323, 95, 42, "", false) guiSetAlpha(GUIEditor.button[2], 0.00) aa = guiCreateEdit(295, 172, 48, 22, "", false) bb = guiCreateEdit(321, 217, 100, 23, "", false) cc = guiCreateEdit(338, 266, 170, 21, "", false) end ) function Dx() dxDrawLine(214 - 1, 153 - 1, 214 - 1, 370, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(561, 153 - 1, 214 - 1, 153 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(214 - 1, 370, 561, 370, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(561, 370, 561, 153 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(214, 153, 347, 217, tocolor(255, 254, 254, 42), false) dxDrawText("ID Weapon :", 223 - 1, 174 - 1, 302 - 1, 204 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", false, false, false, true, false) dxDrawText("ID Weapon :", 223 + 1, 174 - 1, 302 + 1, 204 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", false, false, false, true, false) dxDrawText("ID Weapon :", 223 - 1, 174 + 1, 302 - 1, 204 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", false, false, false, true, false) dxDrawText("ID Weapon :", 223 + 1, 174 + 1, 302 + 1, 204 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", false, false, false, true, false) dxDrawText("ID Weapon :", 223, 174, 302, 204, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, true, false) dxDrawText("Number of Shot :", 224 - 1, 220 - 1, 303 - 1, 250 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Number of Shot :", 224 + 1, 220 - 1, 303 + 1, 250 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Number of Shot :", 224 - 1, 220 + 1, 303 - 1, 250 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Number of Shot :", 224 + 1, 220 + 1, 303 + 1, 250 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Number of Shot :", 224, 220, 303, 250, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Reason Distribution :", 223 - 1, 267 - 1, 302 - 1, 297 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Reason Distribution :", 223 + 1, 267 - 1, 302 + 1, 297 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Reason Distribution :", 223 - 1, 267 + 1, 302 - 1, 297 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Reason Distribution :", 223 + 1, 267 + 1, 302 + 1, 297 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawText("Reason Distribution :", 223, 267, 302, 297, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", true, true, false, true, false) dxDrawLine(274 - 1, 303 - 1, 274 - 1, 347, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(383, 303 - 1, 274 - 1, 303 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(274 - 1, 347, 383, 347, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(383, 347, 383, 303 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(274, 303, 109, 44, tocolor(254, 254, 254, 51), false) dxDrawText("Take", 276 - 1, 303 - 1, 383 - 1, 347 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("Take", 276 + 1, 303 - 1, 383 + 1, 347 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("Take", 276 - 1, 303 + 1, 383 - 1, 347 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("Take", 276 + 1, 303 + 1, 383 + 1, 347 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("Take", 276, 303, 383, 347, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawLine(462 - 1, 323 - 1, 462 - 1, 365, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(557, 323 - 1, 462 - 1, 323 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(462 - 1, 365, 557, 365, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(557, 365, 557, 323 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(462, 323, 95, 42, tocolor(254, 254, 254, 51), false) dxDrawText("~ Mr.Hassan", 462 - 1, 322 - 1, 557 - 1, 365 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("~ Mr.Hassan", 462 + 1, 322 - 1, 557 + 1, 365 - 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("~ Mr.Hassan", 462 - 1, 322 + 1, 557 - 1, 365 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("~ Mr.Hassan", 462 + 1, 322 + 1, 557 + 1, 365 + 1, tocolor(0, 0, 0, 255), 1.00, "default", "center", "center", false, false, false, true, false) dxDrawText("~ Mr.Hassan", 462, 322, 557, 365, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, false, true, false) end ----------------------------------------------- addEventHandler ( "onClientGUIClick", root, function ( ) if source == button1 then local aa = guiGetText(aa) local bb = guiGetText(bb) local cc = guiGetText(cc) triggerServerEvent("button1", localPlayer,aa,bb,cc) end end ) سيرفر addEvent ( "button1" , true ) addEventHandler ( "button1" , root function (button1,aa,bb,cc) for k, v in ipairs ( getElementsByType ( "player" ) ) do local give = giveWeapon ( v, tonumber(aa), tonumber(bb) ) outputChatBox(tostring(cc), v , 255,255,255) end end ) الدي بوق
  12. مدري بس شفتها بشرح ذا بيست عشان يتحقق انه رقم
  13. السلام عليكم شو خطا الكود ؟؟ addEvent ( "button1" , true ) addEventHandler ( "button1" , root function (aa,bb,cc) if tonumber(Value) then for k, v in ipairs ( getElementsByType ( "player" ) ) do local give = giveWeapon ( source, tonumber(aa), tonumber(bb) ) outputChatBox(tostring(cc), source , 255,255,255) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == button1 then local aa = guiGetText(aa) local bb = guiGetText(bb) local cc = guiGetText(cc) triggerServerEvent("password", localPlayer,aa,bb,cc) end end ) بعمل مود توزيع اسلحه بس قلولي شو الخطا ولو كله حطا ممكن الفنكشات الصحيحه
  14. يقلي خطا بل ميتا ومدري وش وعندي الميتا صحيح وجربته وش ذا
  15. ما ظبط يقلي سيرفر ايفنت مدري وش دي بوق
  16. السلام عليكم ابيكم هنا تحفظوني كيف اعمل سكل يحفظ على سيريالات شيئ محدد وكمان كيف احفظ سكل سيريالات اخلي الاعب بمكانه لو طلع وخرج يظل بمكانه
  17. addEventHandler ( "onClientGUIClick", root, function ( ) if source == getteam then local kk = guiGetText(edit1) triggerServerEvent("team", localPlayer, kk) end end ) addEvent ("team",true) addEventHandler("team",root function (kk) local ss = getTeamFromName ( ..tostring(kk)) ) getPlayersInTeam(ss) x , y , z = setElementPosition(source) end )
  18. مثال عندي تيم اسمه Police بس اكتب بل تيكست اسم Police واحط على البوتون ينتقلو كل الشرطه عندي واذا ما كان عندي تيم بهذا الاسم يقلي لا يوجد تيم بهذا الاسم
  19. السلام عليكم العنوان يقول وش ابي مفهوم ابي احط مود بل كومنتي سجلت وكل شيئ بس مو عارف لي عنده شرح لا يبخل علينا وشكرا
  20. السلام عليكم ابي فنكشن احط اسم تيم بل التييكست وبس احط انتقال ينتقلو لعندي ابي الفنكشات كامله لاهنتو وشكرا
×
×
  • Create New...