Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 19/05/22 in all areas

  1. Hello, We recently discovered a vulnerability within MTA Server, as a result of which an attacker could crash your server. The issue has been fixed and we urge all server owners and hosters to update immediately. Getting the update Linux: https://linux.multitheftauto.com/ Windows x64: https://nightly.multitheftauto.com/?mtasa_x64-1.5-rc-latest If your server is hosted locally (out of your MTA installation folder), reinstall with the full installer from https://multitheftauto.com/ for the x86 server
    16 points
  2. That is correct, although be cautious with just how many you add, as each component adds more draw calls which requires more CPU processing time
    1 point
  3. Use https://wiki.multitheftauto.com/wiki/SetVehicleVariant on the created vehicle and pass the desired arguments.
    1 point
  4. السلام عليكم ورحمة الله تعالى وبركاته أخباركم جميعاً عساكم بخير ------------------------------------------- اليوم جيت أتكلم عن الأشخاص بعض الكلمات المنتشرة كـ "مزح " وهي محرمه ومنتشره للأسف -------------------------------------------- أولاً: التحريف بأسماء الله عز وجل مثل " واللهي " , " سبهان الله " , "اللههه" للأسف هذا الشي منتشر عند الناس و يجب كتابة لفظ الجلالة بالشكل الصحيح ---------------------------------------------- ثانيا: سب الدهر (والعياذ بالله) مثل يلعن الوقت الي إحنا فيه(استغفر الله) حرام ولا يجوز لأن الله هو الدهر عن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: قال الله تعالى: يؤذيني ابن آدم يسبّ الدّهر وأنا الدّهر أقلّب الليل والنهار -------------------------------------------- والسلام عليكم ورحمة الله وبركاته
    1 point
  5. You can convert the normal vectors to euler angles with the following function, you can use the phi for the so called Z rotation and the theta for one of the remaining (check it which one is better for you). It's a working function, I had a fun time with it shooting trash cans everywhere function directionToEuler(dirX, dirY, dirZ) local radius = (dirX*dirX + dirY*dirY + dirZ*dirZ) ^ 0.5 local theta = math.deg(math.acos(dirZ / radius)) local phi = math.deg(math.atan2(dirY, dirX)) % 360 return theta, phi end
    1 point
×
×
  • Create New...