Jump to content

Dr.Ah[M]ed<3

Members
  • Posts

    105
  • Joined

  • Last visited

Everything posted by Dr.Ah[M]ed<3

  1. حلو تسجيل دخول اشتغل بس عمل حساب جديد register مو شغال
  2. هلا شباب انا بدي اعرف كيف اخلي لوحة تفتح ب رتبة مثل اف1 ابية يفتح لرتبة معينة او اي لوحة ثانية
  3. هلا ب شباب كيف اسوي لوحة DX ؟؟
  4. عدلت الوحة وهذة الجديدة و بردو مايسجل حساب او يسجل كلنت GUIEditor = { edit = {}, button = {}, window = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(318, 201, 392, 427, "~~ Real life الحياة الواقعية ~~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00FB12") showCursor(true) showChat(false) fadeCamera(false,5) GUIEditor.button[1] = guiCreateButton(15, 356, 103, 61, "Login", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBEC03") GUIEditor.button[3] = guiCreateButton(147, 356, 103, 61, "Register", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF06F711") GUIEditor.button[2] = guiCreateButton(272, 356, 103, 61, "Guest", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFC0000") GUIEditor.label[1] = guiCreateLabel(13, 35, 82, 30, " UserName", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 5, 107, 245) GUIEditor.label[2] = guiCreateLabel(15, 119, 82, 30, " PassWord", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 3, 146, 246) GUIEditor.edit[1] = guiCreateEdit(102, 32, 244, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(102, 119, 244, 23, "", false, GUIEditor.window[1]) GUIEditor.memo[1] = guiCreateMemo(14, 186, 361, 151, "#A.1 ~| cit - ksa ~ الحياة الواقعية \n\n[ English ]\n\nhello every body Welcome To Real life server\n\nmany jobs + RPG \n\nto open The telephon press N\n\npress F11 shows the jobs \n\nthx for playing\n\n[ Ar ]\n\nمرحبا بك في سيرفر العرب للحياة الواقعية\n\nتاخذ وظايف وتجيب فلوس\n\nوتشتري سيارات\n\nكانك في حياة العادية\n\nوجرافيكس مثل حقيقة\n\nوشوارع و البيوت\n\nلتفتح الجوال اطغط حرف ى", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then triggerServerEvent("onlogin",localPlayer,guiGetText( GUIEditor.edit[1]]),guiGetText( GUIEditor.edit[2])) elseif source == GUIEditor.button[2] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) showChat(true) fadeCamera(true,5) elseif source == GUIEditor.button[3] then triggerServerEvent("onReg",localPlayer,getLocalPlayer(),guiGetText( GUIEditor.edit[1]),guiGetText( GUIEditor.edit[2]) ) end end ) addEvent("Hidewindow",true) addEventHandler("Hidewindow",root, function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) showChat(true) fadeCamera(true,5) end )
  5. ماكس جربت بردو مايبي يسجل او يسوي حساب انا عدلت الوحة GUIEditor = { edit = {}, button = {}, window = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(318, 201, 392, 427, "~~ Real life الحياة الواقعية ~~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00FB12") showCursor(true) showChat(false) fadeCamera(false,5) GUIEditor.button[1] = guiCreateButton(15, 356, 103, 61, "Login", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBEC03") GUIEditor.button[3] = guiCreateButton(147, 356, 103, 61, "Register", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF06F711") GUIEditor.button[2] = guiCreateButton(272, 356, 103, 61, "Guest", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFC0000") GUIEditor.label[1] = guiCreateLabel(13, 35, 82, 30, " UserName", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 5, 107, 245) GUIEditor.label[2] = guiCreateLabel(15, 119, 82, 30, " PassWord", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 3, 146, 246) GUIEditor.edit[1] = guiCreateEdit(102, 32, 244, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(102, 119, 244, 23, "", false, GUIEditor.window[1]) GUIEditor.memo[1] = guiCreateMemo(14, 186, 361, 151, "#A.1 ~| cit - ksa ~ الحياة الواقعية \n\n[ English ]\n\nhello every body Welcome To Real life server\n\nmany jobs + RPG \n\nto open The telephon press N\n\npress F11 shows the jobs \n\nthx for playing\n\n[ Ar ]\n\nمرحبا بك في سيرفر العرب للحياة الواقعية\n\nتاخذ وظايف وتجيب فلوس\n\nوتشتري سيارات\n\nكانك في حياة العادية\n\nوجرافيكس مثل حقيقة\n\nوشوارع و البيوت\n\nلتفتح الجوال اطغط حرف ى", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then triggerServerEvent("onlogin",localPlayer,guiGetText( GUIEditor.edit[1]]),guiGetText( GUIEditor.edit[2])) elseif source == GUIEditor.button[2] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) showChat(true) fadeCamera(true,5) elseif source == GUIEditor.button[3] then triggerServerEvent("onReg",localPlayer,getLocalPlayer(),guiGetText( GUIEditor.edit[1]),guiGetText( GUIEditor.edit[2]) ) end end ) addEvent("Hidewindow",true) addEventHandler("Hidewindow",root, function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) showChat(true) fadeCamera(true,5) end )
  6. حطيتة في قروب وخرجت من حسابي وبردو مو شغال
  7. ابية لما يخرج من وظيفة شخصية تصير 0 سي جي
  8. استبدلتها واشتغل بس مشكلة لما اسوي login + register يقول كذا Login Error! Login Error! Login Error! Login Error! Login Error! Login Error! Login Error! Register Error ! Login Error! Login Error! Login Error! Login Error! Login Error! مايسجل او يسجل حساب جديد
  9. هلا شباب انا سويت لوحة تسجيل اوكي مسوي فية login + register + guest اول شئ login + register مايسو شئ اما guest شغال كيف اخلية يسجل + يسوي حساب مايسون وانا حطيت اكواد وهذول الاكواد هذا Client GUIEditor = { button = {}, window = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(318, 201, 392, 427, "~~ Real life الحياة الواقعية ~~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) showCursor(true) showChat(false) fadeCamera(false,5) GUIEditor.button[1] = guiCreateButton(15, 356, 103, 61, "Login", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(147, 356, 103, 61, "Register", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(272, 356, 103, 61, "Guest", false, GUIEditor.window[1]) GUIEditor.memo[1] = guiCreateMemo(105, 31, 251, 34, "", false, GUIEditor.window[1]) GUIEditor.memo[2] = guiCreateMemo(105, 109, 251, 34, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(13, 35, 82, 30, " UserName", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(15, 119, 82, 30, " PassWord", false, GUIEditor.window[1]) end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then triggerServerEvent("onLogin",getRootElement(),getLocalPlayer(),guiGetText(GUIEditor.edit[1]),guiGetText(GUIEditor.edit[2]) ) elseif source == GUIEditor.button[2] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) showChat(true) fadeCamera(true,5) elseif source == GUIEditor.button[3] then triggerServerEvent("onReg",getRootElement(),getLocalPlayer(),guiGetText(GUIEditor.edit[1]),guiGetText(GUIEditor.edit[2]) ) end end ) addEvent("Hidewindow",true) addEventHandler("Hidewindow",root, function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) showChat(true) fadeCamera(true,5) end ) server 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 ( "You Logged in Sucessfuly!", player, 255, 255, 0 , true ) triggerClientEvent (player, "Hidewindow", player) else outputChatBox ( "Login Error!", player, 255, 0, 0 ) end else outputChatBox ( "Wrong username or password!", 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 ( "You Registerd and Logged in Sucessfuly!", player, 255, 255, 0 ) triggerClientEvent (player, "Hidewindow", player) else outputChatBox ( "You Are Already Logged in !", player, 255, 255, 0 ) triggerClientEvent (player, "Hidewindow", player) end else account = addAccount ( user, pass ) if (logIn ( player, account, pass ) == true) then outputChatBox ( "You Registerd and Logged in Sucessfuly!", player, 255, 255, 0 ) triggerClientEvent (player, "Hidewindow", player) else outputChatBox ( "Register Error !", player, 255, 0, 0 ) end end end )
  10. سويت كذا بس لما اغير اسم من row الكل يكونو نفس الاسم
  11. الشغله مود انا مسوي لوحه اوكي حقت خروج من وظيفه رجوع الوظيفه ابي كود لما تطغط علي الزر خروج من الوظيف تخرج منه و رجوع وظيفه تطغط علي زر ترجع لوظيفه
  12. وش your code ?? اتمنا الرد if ( source == buttonjoinJob ) then ---- your code elseif ( source == buttonleftJob ) then ---- your code end
  13. زاحف شوف انا دحين اطلب كود 1 هو لما اطغط علي زر خروج من وظيفة يخرجني و رجوع وظيفة يرجعني واتمنا تفهوني وخلاص
  14. اوكي مثال بس في كود مافي حقت اخرج من وظيفة وارجع لة ؟؟
  15. لحول شوفو انا مسوي الوحة والزرار بس مشكلة كود انا بدي كود لما اطغط علي زر يخرجني من وظيفة و ارجع لوظيفة
  16. هلا GridList لما اسوية وااسمي اول وزنية مثل 1 يكون كل الوزنيات اسمة 1 كيف اصلحة ؟؟
  17. شوف لوحة تنفتح من اف4 اوكي وفية 2 زر الاول خروج من شغلانة و الثاني رجوع الشغلانة فهمتني؟؟ يعني لما تاخذ وظيفة وتبي ترجع سي جي من جديد واذا تبي ترجع الوظيفة تروح رجوع الشغلانة فهمتني ؟؟
  18. لا لوحة خروج من العمل ورجوع الي العمل مثل سيرفر بسول اف4 مو عارف اسوي كود
×
×
  • Create New...