Jump to content

MR.S3D

Members
  • Posts

    732
  • Joined

  • Last visited

Everything posted by MR.S3D

  1. ضض1 هذا اككثر شي يواجهني ككيف اصلحها ؟ لاتستخدم ذا الحدث onClientPlayerJoin استخدم هذ ا الحدث addEventHandler('onClientResourceStart', getResourceRootElement(getThisResource()), function() -----your Code end )
  2. اطرح الكلنت كامل + ملف الميتا
  3. لاقصدي كل مايخش لاعب الروم تطلع لك النافذة يعني كل ماخش واححد طلعت لك ض2
  4. وليه مخفي كيف يسجل؟ يقدر يسجل انا بس مخليه شفاف الحين وش المطلوب يعني وش اللي ما اشتغل معك؟
  5. كذا ؟ GUIEditor.staticimage[1] = guiCreateStaticImage(388, 185, 560, 484, ":guI/images/examples/logo.png", false) guiSetVisible ( GUIEditor.staticimage[1], false ) GUIEditor.staticimage[2] = guiCreateStaticImage(14, 88, 110, 86, "images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(14, 256, 110, 86, "/images/login.png", false, GUIEditor.staticimage[1]) GUIEditor.edit[1] = guiCreateEdit(139, 127, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.edit[2] = guiCreateEdit(139, 289, 325, 43, "", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(100, 0, 392, 124, "images/user.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[6] = guiCreateStaticImage(139, 180, 326, 109, "images/pass.png", false, GUIEditor.staticimage[1]) GUIEditor.staticimage[7] = guiCreateStaticImage(38, 364, 133, 111, "images/password.png", false, GUIEditor.staticimage[1]) button.login = guiCreateButton(-0.32, -0.40, 2.26, 1.72, "", true, GUIEditor.staticimage[7]) GUIEditor.staticimage[8] = guiCreateStaticImage(397, 363, 131, 111, "images/regsiter.png", false, GUIEditor.staticimage[1]) button.register = guiCreateButton(-22, -6, 258, 155, "", false, GUIEditor.staticimage[8]) addEventHandler("onClientPlayerJoin", getRootElement(), function () guiSetVisible ( GUIEditor.staticimage[1], true ) end ) تستهبل انت addEventHandler("onClientPlayerJoin", getRootElement(), function () guiSetVisible ( GUIEditor.staticimage[1], true ) end ) ماراح يطلع لك راح يطلب للاعبين اللي في الروم
  6. تأكد من مسار الصور + ليه مستخدم ذا guiSetAlpha(button.register, 0.00) هذا يخفي الزر
  7. ورني الصورة اللي مسويها
  8. +1 وش اللي انلحست فيه وانا اشرحه لك؟
  9. كلنت addEventHandler('onClientResourceStart', getResourceRootElement(getThisResource()), ---اول مايشتغل الكلنت function() img1 = guiCreateStaticImage(10, 28, 250, 333, "images/1.png", false) ---الصورة end )
  10. أخوي الكود الأول والثاني مافيه شي والثالث سيرفر مو كلينت والأخير سيرفر
  11. MR.S3D

    Schokk map 3

    Good luck with it.
  12. MR.S3D

    warnText

    in the line 5 you are not defined zombie
  13. MR.S3D

    Clickable Image

    img1 = guiCreateStaticImage(10, 28, 250, 333, "images/1.png", false) addEventHandler("onClientGUIClick",root, -- when click function(button, state, absoulteX, absoulteY) if ( source == img1 ) then -- your img --- here your code end end )
  14. Put the same file in the other server
  15. MR.S3D

    FPS

    Client side FPSLimit = 46 FPSMax = 1 local guiFPSLabel = nil function onClientResourceStart ( resource ) if ( guiFPSLabel == nil ) then FPSLimit = 255 / FPSLimit guiFPSLabel = guiCreateLabel ( 0.03, 0.97, 0.1, 0.1, "FPS: 0", true ) FPSCalc = 0 FPSTime = getTickCount() + 1000 addEventHandler ( "onClientRender", getRootElement (), onClientRender ) end end addEventHandler ( "onClientResourceStart", getRootElement (), onClientResourceStart ) function onClientRender ( ) if ( getTickCount() < FPSTime ) then FPSCalc = FPSCalc + 1 else if ( FPSCalc > FPSMax ) then FPSLimit = 255 / FPSCalc FPSMax = FPSCalc end guiSetText ( guiFPSLabel, "FPS: "..FPSCalc.." Max: "..FPSMax ) guiLabelSetColor ( guiFPSLabel, 255 - math.ceil ( FPSCalc * FPSLimit ), math.ceil ( FPSCalc * FPSLimit ), 0 ) FPSCalc = 0 FPSTime = getTickCount() + 1000 end end
  16. اسأل ذا memberlist.php?mode=viewprofile&u=14667
  17. اخوي ذا قسم خاص ل MTA اون لاين ماله دخل في الأون لاين وخاص في البرمجه
×
×
  • Create New...