Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 24/09/20 in all areas

  1. Só pra avisar que ainda é possível obter os dados do jogador ao deixar selecionada a opção "Output player information to console on select" na aba Options do painel. As informações aparecem no F8 ao selecionar o nome do jogador no painel. Nesse caso, deve-se bloquear essa opção também.
    2 points
  2. مالي دخل بالموضوع صراحة لكن إذا نشرت شي و واحد استعمله بسيرفر ماتقدر تطلق عليه " سرقة " ليه ناشره اصلًا؟ لو ماتبي احد يعدله تقدر تحط رخصة إستخدام بالمود وهنا اقول لك حق لأن ذا إنتهاك بس ماتوقع انك كاتب شيء انت بنفسك اعتقد شايل رخصة الإستخدام حقت التصميم نفسه يلي مفروض ماتشيلها
    2 points
  3. السلام عليكم ورحمة الله وبركاته اليوم حابب اقولكم اني بفتح سيرفر وشغال علي السيرفر لي 3 شهور المهم قررت افتح السيرفر بكرا الساعة 7 بتوقيت مصر , والساعة 8 بتوقيت السعودية تنوروني كلكم ان شاء الله
    1 point
  4. Thanks for the tips! I managed to make it all work through getting the matrices and basing the offsets off of that. It can use some optimization, but it's working. An example: I created a quick sync script that adds Packers with attached vehicles to a list on onElementStreamIn and removes them on onElementStreamOut. That list then gets iterated through and it updates the offsets. I will try the way you proposed it as well. I'm curious as to what works best
    1 point
  5. you have to wait for few hours (should be visible by now)
    1 point
  6. Hello IIYAMA, Thanks so much for your quick response. Running getVehicleAdjustableProperty reveals 2500 (when raised) and 0 (when lowered) for the Packer. I also just discover getVehicleComponents. Using that I found out that the loading area is called misc_a. Using getComponentPosition and getComponentRotation, I can create vectors and a matrix, which I can hopefully use to position the vehicles properly. If not, I'll try the interpolating! Thanks again. I was stuck with this for quite a while.
    1 point
  7. Hi Tekken, Whenever you attach two elements you can provide offsets relative to the element you are attaching to. Because of this you it shouldn't be too difficult what you're trying to achieve. I've created a simple script to demonstrate this below. You can provide an offset x, y and z. To spawn something in front of the player, you would have to use y. attachElements(object, player,0,3,0) -- Y is 3, you could change this to be smaller (closer to the player) or bigger (farther away) Here's a quick demo script. You can use /cao <objectid> to create something and then /do to detach it in case something goes wrong. -- Creates object and attaches to player function createAttachedObjectInFrontOfPlayer(player,objectid) local x,y,z = getElementPosition(player) local object = createObject(objectid, x,y,z+10) return attachElements(object, player,0,3,0) end -- Command to create attached object addCommandHandler('cao', function(player, cmd, objectid) if not objectid then outputChatBox("You didn't provide an object ID!",player,255,0,0) return false else createAttachedObjectInFrontOfPlayer(player,tonumber(objectid)) end end ) -- Detaches whatever you attached to the player. addCommandHandler('do', function(player) local attached_elements = getAttachedElements(player) for i, element in ipairs(attached_elements) do detachElements(element,player) end end )
    1 point
  8. Check this comment: This can give you the position in front of you or anywhere you want. Attach elements (static offset) can be done with: https://wiki.multitheftauto.com/wiki/AttachElements
    1 point
  9. .?الله يعافيك وبالتوفيق
    1 point
  10. العودة قريبا,, مع المزيد من اقوى الحصريات وأفكار جديدة وقوية قريبا سيتم الاعلان عن التريلر الخاص بالسيرفر
    1 point
  11. Não se esqueça também de bloquear os botões "Client" e "Server", que ficam na aba Resources. Alguém mais espertinho pode executar um código ali que retorna o IP do jogador. (ou você pode bloquear o campo onde é escrito o código, tanto faz.) Código: outputChatBox(getPlayerIP(getPlayerFromName("nick_de_algum_jogador_aqui")), source)
    1 point
  12. جبت لكم المود الأملاك الخاصه مع خصائص جديده من تصميم Mr.Doktor وبرمجة من طرف Mr.KAREEM الخصائص لوحة الأملاك الخاصه مع خاصية تغيير الألوان وخاصية حماية الموتر لوحة تفعيل بي السريال مع مدة التفعيل و نسخ البيانات لوحة اللوق لي الأملاك الخاصة رابط المود : هنا
    1 point
  13. يب يعطيك الف عافيه سويتها ع قواعد بيانات
    1 point
  14. ليه متهاوشين عادي ترا خذو المواضيع ببسسساطة
    1 point
  15. لوحه التسجيل اجنبيه !! ومحطوطه احتياطي , وكلامك الي تقوله "مسروق " تطلع غلطان مودات نصيف , وليس مودات سوليد او غلاي !! واتوقع تعرف انه ماكان فيه مبرمجين عندهم الا نصيف ! عموما الاصدار قريب ..
    1 point
  16. I haven't really worked with SQLite as I think it's not really more than an excel sheet compared to MySQL but as SQL is usually the same... There are only two small things I can see, first you never really use the plr variable but instead the source variable, second I always embed column and table names in ``, e.g. UPDATE `characters` SET `pos_y`='1' WHERE (`character_id`='2') Also I use Navicat Lite to double check my queries for function, might help you.
    1 point
  17. Please create a new thread in the same forum, show the errors you're getting and steps you've already tried.
    0 points
  18. اسمع . قريت كلامي الي فوق مليح ؟ انا واش قلت ؟ قلت المودات مو موداتكم هذا الشيئ صح او خطأ ؟ المودات نفسها حق جراند العرب صح او لا ؟ هههه قال غلاي جايبني الله يهيدك بس كل واحد وله الحق في واش يقول وانا قلت واش شفت و انت تكبر في الموضوع و بس نقطة الى سطر ايه واللوحة ك جايها من الموقع ك ك نبدأ بأول شيئ ترتيب الملفات صدفة جات الملفات بنفس الترتيب الي بالملف ثاني شيئ كامن صدفة نفس الصورة ونفس ملف gif ك كمان نقول صدفة نروح لثالث شيئ كمان نفس الكود ونفسف الكومنتس صدف
    0 points
×
×
  • Create New...