Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 26/09/17 in Posts

  1. السلام عليكم ورحمة الله وبركاتة لقد تم إضافة خاصية حماية الحساب قبل فتره بسيطة وتم إنشاء هذا الموضوع لمن لم يلاحظ وجود هذه الخاصية او لمن لايعرف طريقة إستخدامها حتي ! اولأ طريقة تفعيل هذه الحماية عن طريق إتباع الخطوات التالية : Account Settings الذهاب الي ومن ثم كما موضح في الصورة ومن ثم سيطلب منك إدخال الباسورد الحالي لحسابك ومن ثم سيفتح لك هذه النافذه والان اصبح لديك 3 خيارات وسأقوم بشرح كل واحده منهم Authy: تقوم بإرسال كود سري لهاتفك ومن ثم سيطلب المنتدي منك إدخال هذا الكود السري في المنتدي لتتمكن من فتح حسابك Google Authenticator: يجب عليك تحميله علي هاتفك ومن ثم سيعطيك كود سري وسيطلب منك المنتدي هذا الكود السري لتتمكن من فتح حسابك Security Questions: اسئلة الامان ( لاداعي لشرحها لأنها معروفة ) ملاحظة مهمة : عند تفعيل اي واحده منهم سيسألك المنتدي عن الكود السري من وقت لأخر وهذا لا يعني ان هناك شخص قد قام بإختراق حسابك , هذا فقط للتأكد من انك انت صاحب الحساب الاصلي وحتي في حال تم إختراق حسابك من اي عضو اخر لاتقلق لأن حسابك سيكون بأمان ولن يستطيع فعل اي شي الا بعد ان يقوم بإدخال الكود السري الذي يتم إرساله لك تم تثبيت الموضوع لفترة مؤقتة واتمني لكم التوفيق
    2 points
  2. Dear users, I want to create APIs for my MTASA Server, as FB apis o Google apis. Example: without an HTTP autenthication, requesting GET http://server-ip:22005/api?what=userlist I want to retrieve (in JSON) the list of the connected users to my server, or requesting POST http://server-ip:22005/api with fields what=wheater&number=4 I want to execute setWeather(4) on my server. Someone can help me how to create a resource which does this? Thanks
    1 point
  3. الماب الثاني لي اترككم مع الفيديو التحميل هنا
    1 point
  4. https://community.multitheftauto.com/index.php?p=resources&s=details&id=10163
    1 point
  5. خشمك معووج شوي لا الرجال ثقه المهم يا غالي لو بغيت تعال خاص
    1 point
  6. طيب طال عمرك وين اكتب السيريال ول اضغط الزر يجيني مربع ؟ بالتوفيق استمر
    1 point
  7. Yes it is possible. I just don't know how to do it with the shader file. But you can do it with lua: First draw the image: https://wiki.multitheftauto.com/wiki/DxDrawImage And then draw a section of the same image on top of it: https://wiki.multitheftauto.com/wiki/DxDrawImageSection
    1 point
  8. I found out that the required line is actually: <removeWorldObject id="removedWorldObject1" radius="1000" interior="0" model=" " lodModel="0" posX=" " posY=" " posZ=" " rotX="0" rotY="0" rotZ="0"></removeWorldObject> You'll need to add in it your own model id, x, y and z values, I left blanks there. thanks @Moha|M|
    1 point
  9. onPlayerDamage ماله شغل بالطلب + مايتكنسل الصح "onClientPedDamage" cancelEvent
    1 point
  10. fetchRemote en la wiki hay un ejemplo de como usarlo
    1 point
  11. Hello! I would like to get the progress for an interpolation, but I don't know how to do it. I would like to make a rectangle green when an indicator going through it, so when the indicator is not at the rectangle I would like it to change color to red, and when it's getting closer to the rectangle then make it green. My only problem is that the rectangle is being on the middle and the indicator is going from left to right and then backwards, right to left. Here's what I would like to achieve, I created a gif for this, so it is easier to understand. I would like to reach this, but can't seem to find a solution. Here's what I currently have: local sx, sy = guiGetScreenSize() local sizeX, sizeY = 230, 30 local centerX, centerY = sx / 2 - sizeX / 2, sy / 2 - sizeY / 2 local posX, posY = centerX, centerY local barRange = 30 local barLeftSide, barRightSide = posX + sizeX/2 - barRange/2, posX + sizeX/2 local barMiddle = (barLeftSide + barRightSide)/2 local indicatorSize = 20 local indicatorX = posX - indicatorSize local indicatorState = true local colorProgress = 0 -- inside the render function if indicatorState then indicatorX = indicatorX + 5 else indicatorX = indicatorX - 5 end if indicatorX >= posX + sizeX then indicatorState = false end if indicatorX <= posX - indicatorSize then indicatorState = true end -- colorProgress = ? local colorR, colorG, colorB = interpolateBetween(125, 20, 20, 20, 125, 20, colorProgress, "Linear") dxDrawRectangle(posX + 2, posY + 2, sizeX - 4, sizeY - 4, tocolor(0, 0, 0, 150)) dxDrawRectangle(barLeftSide, posY + 2, barRange, sizeY - 4, tocolor(colorR, colorG, colorB, 255)) dxDrawImage(indicatorX, posY - indicatorSize, indicatorSize, indicatorSize, "files/indicator.png", 180) So, how can I get the colorProgress to get the same effect as on the gif?
    0 points
  12. function onPreFunction( sourceResource, functionName, isAllowedByACL, luaFilename, luaLineNumber, ... ) local args = { ... }; if ( args[2] == 38 ) then setElementModel ( args[1], 104 ) if ( getElementType ( args[1] ) == "player" ) then kickPlayer ( args[1], "No Minigun" ) end return "skip" end end addDebugHook( "preFunction", onPreFunction, { "giveWeapon" }) الكود فقط بيعطي كيك + وتغيير شخصية لأي شخص حاول ياخذ ميني قن طلبك مستحيل تقريبا الا لو تعدل من كافة اللوحات الي تعطي سلاح .. اما هذا فقط كود بسيط يخلي الشخص ماياخذ ميني قن جرب ورد لو زبط معك الكود
    0 points
  13. تمنع المواضيع السياسية تم إغلاق الموضوع
    0 points
×
×
  • Create New...