Jump to content

Adham

Members
  • Posts

    2,259
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Adham

  1. addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[5] ) then setWorldSpecialPropertyEnabled ( "extrajump", true ) exports.TopBarChat:sendClientMessage ( "Text", 255,255,255, true ) end end ) افتح مود توب بار شات وتاكد ان اسمه بالظبت TopBarChat
  2. دي بق ؟ وش يقول
  3. غير مجرب كلنت : addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[5] ) then setWorldSpecialPropertyEnabled ( "extrajump", true ) exports["TopBarChat"]:sendClientMessage ("[Ranks System] تم تشغيل القفزة المرتفعة.",255,255,255,true ) end end )
  4. خلاص , شكرا تيسكت ظبت .! ولو ابي احط م يقدر يفتح ف1 و لوحه لادمن في البنك وش احط رقم الديمشون؟
  5. سلام عليكم ورحمه الله وبركاته .. المشكله انا مسوي لما يخش علي مركر يخش علي بنك وعامل الانترو المشكله : لما يخش في المركر يخش في البنك عادي : بس تكون الشخصيه تحت الأ رض مثل هذه :
  6. Adham

    سوال .

    انا كبتوmsgbox لاكن بالغلط كتبتها bow في الموضوع
  7. Adham

    سوال .

    كيف استعمله ي بو خلف ؟
  8. Adham

    سوال .

    يب تاكدت وشغال 100 %
  9. Adham

    سوال .

    يجي دي بق كل شوي call: failed to call 'msgbow:guiShowMessageBox' [string "?"]
  10. Abu-Solo @ getPlayerSerial Server-only function
  11. Adham

    سوال .

    ارجو الرد شباب بيجلي خطأ في الدي بق !! وم يطلع لوحه
  12. Adham

    سوال .

    م ظبت كل الاكواد !........
  13. Adham

    سوال .

    ي حبيبي انا مجررب
  14. Adham

    سوال .

    الكود خرب كلو ^-^
  15. Adham

    سوال .

    ي حبيبي م في اكواد سرفر ؟ الاكواد كلها قدامك
  16. Adham

    سوال .

    مود المسج : الكود MsgBoxWindow = {} MsgBoxText = {} MsgBoxWindow = guiCreateWindow(0.3984,0.3841,0.2061,0.1901,"Info",true) guiSetAlpha(MsgBoxWindow,0.8) MsgBoxText = guiCreateLabel(0.1991,0.2808,0.5498,0.4726,"",true,MsgBoxWindow) guiSetVisible(MsgBoxWindow, false) showCursor(false) function newmsgbox(co) guiSetVisible(MsgBoxWindow, true) guiSetText(MsgBoxText, tostring(co)) showCursor(false) setTimer(function() guiSetAlpha(MsgBoxWindow,0.70000000000000) end, 300, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.60000000000000) end, 700, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.50000000000000) end, 1000, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.40000000000000) end, 1300, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.30000000000000) end, 1500, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.20000000000000) end, 1800, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.10000000000000) end, 2000, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.00000000000000) end, 2300, 1) setTimer(function() guiSetVisible(MsgBoxWindow, false) end, 2300, 1) end addEvent("msgBoxInfo", true) addEventHandler("msgBoxInfo", getRootElement(), newmsgbox) الكود لحطه في مود اخر عشان تطلع لوحه function show(msg) exports.msgbox:guiShowMessageBox(msg,"error","Error",false,"OK") end show("adham") تعريف الميتا : <include resource="msgbox" />
  17. سلام عليكم كل م اجي اشغلمود msgbox واحط كوده في كلنت الهوا ده : function show(msg) exports.msgbox:guiShowMessageBox(msg,"error","Error",false,"OK") end واحط show("doma" ) مثلا اجي اروح السرفر يجي بي الدبي بق call: failed to call 'msgbow:guiShowMessageBox' [string "?"] المشكله دي صارت معي اكتر من مره وما عارف احلها
  18. لازم , تحققات حاول في الكود وبساعدك فيه إنشاء الله ^
  19. addEvent ( 'onPlayer:Login', true ) addEventHandler ( 'onPlayer:Login', root, function ( AccountName, AccountPass ) local oldAccount = getPlayerAccount( source ) if (not oldAccount == isGuestAccount(oldAccount)) then outputChatBox( 'تم تسجيل من قبل', source, 255, 0, 0, true ) return end local playerAccount = getAccount(AccountName, AccountPass) if (playerAccount ~= nil or playerAccount ~= false) then if (logIn(source, playerAccount, AccountPass)) then outputChatBox( 'تم التسجيل', source, 0, 255, 0, true ) triggerClientEvent ( source, "onPlayer:LoginWnd", source ) else outputChatBox( 'حدث خطا!', source, 255, 0, 0, true ) return end end end )
  20. Login : addEventHandler ( "onClientGUIClick", root, function () if source == GUIEditor.button[1] then -- Login local AccountName = guiGetText ( GUIEditor.edit[1] ) -- edit local AccountPass = guiGetText ( GUIEditor.edit[2] ) if AccountName == "" or AccountPass == "" then return end triggerServerEvent ( "onPlayer:Login", localPlayer, AccountName, AccountPass ) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == Ok then local NewAccount = guiGetText(username) local NewPass = guiGetText(password) local RepeatPass = guiGetText(RepeatPass) if NewAccount == "" or NewPass == "" or RepeatPass == "" then return end if ( NewPass ~= RepeatPass) then outputChatBox( 'يرجأ كتابه باسورد متاطبق', 255, 0, 0, true ) return end triggerServerEvent( 'addAccount', localPlayer, NewAccount, NewPass ) end end end ); -- server register addEvent ( 'checkForRegisterNewAccount', true ) addEventHandler( 'checkForRegisterNewAccount', root, function( NewAccount, NewPass) if (getAccount( NewAccountName ) ~= false) then outputChatBox( 'الحساب موجود .؟!', source, 255, 0, 0, true ) else addAccount( NewAccount, NewPass) outputChatBox( '*You register now.', source, 0, 255, 0, true ) end end )
  21. السلأم عليكم ورحمه الله وبركاتة .. اليوم سويت مود تسجيل دخول المود لما بسجل في حسابي بكتب في الايديت الاول والتاني الباس يسجل تمام .. ولما اكتب لوحه اخري ايدديت اسم الحساب .. وايديت الباسورد .. وايديت تاأكيد الباسورد ويسجل تمأم المشكله : لما بسجل الحساب register بيسجل لاكن لما اسجل الحساب واجي اكتبو في لوحه ال Login م يدخل يقولي الحساب غلط
  22. علي حسب فهمك ولله بس الاسهل لك السقل
×
×
  • Create New...