Jump to content

!#NssoR_)

Retired Staff
  • Posts

    1,474
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by !#NssoR_)

  1. addCommandHandler ( "remove", function ( ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then for k in pairs ( getVehicleComponents ( theVehicle ) ) do if ( k == "bump_front_dummy" ) then setVehicleComponentVisible(theVehicle, k , false) break end end end end ) Note : I've changed 'test' command because it's will not work.
  2. يمنع المساعده بمثل هذه الاكواد ، يغلق !
  3. moveObject onClientGUIClick
  4. This function playSound creates a sound and then plays it, you can read the wiki page for more details.
  5. تمت إزالة المشاركات السابقة , ويرجي عدم الإفتاء بأي شي يتعلق بالدين والإ ستتم المعاقبه !
  6. الله يوفقكم في اختباراتكم يارب وفالكم النجاح ان شاءالله
  7. زي ماقالك اخونا ماروكو <meta> <script src="اسم الملف.lua" type="نوع الملف كلنت او سيرفر"/> <script src="اسم الملف.lua" type="نوع الملف كلنت او سيرفر"/> </meta>
  8. لا اخوي توقعك خاطئ , يغلق بما ان تم حل المشكلة
  9. يعطيك العافية , ولكن للاسف توجد الكثير من الاخطاء فيه مثل : لايمكنك تحديد قياس اللوحة وكما انه غيردقيق بما يكفي لايعمل مع متصفح فايرفوكس ( بالنسبة لي ) وبالتوفيق
  10. بما ان الاكواد مافيها اخطاء , فالمشكلة غير متعلقه بالاكواد تأكد من : اسم التي اكس دي و الدي اف اف انهم موجودين بالميتا صحة الملفات ( اي بمعني ان الملفات لايوجد بها مشاكل ) الايدي الخاص بالمركبة تأكد من انه صحيح
  11. ID = 466 addEventHandler ( "onClientResourceStart", resourceRoot, function( ) downloadFile("2.txd") downloadFile("2.dff") end ) function onDownloadFinish ( file, success ) if ( source == resourceRoot ) then outputChatBox ( tostring(success) ) if ( success ) then if ( file == "2.dff" ) then local dff = engineLoadDFF ( "2.dff" ) engineReplaceModel ( dff, ID ) end if ( file == "2.txd" ) then local txd = engineLoadTXD ( "2.txd" ) engineImportTXD ( txd, ID ) end end end end addEventHandler ( "onClientFileDownloadComplete", getRootElement(), onDownloadFinish )
  12. https://wiki.multitheftauto.com/wiki/getPlayerNametagText
  13. يعطيك العافية ع الوظيفة الجميلة , ولكن ماشوف اكواد الوظيفة !!
  14. ارقمنت اختياري مو مجبور يحطها
  15. function privateMessage(thePlayer,commandName,sendToName,...) if ( sendToName ) then if (getPlayerFromParticalName (sendToName)) then local toPlayer = getPlayerFromParticalName (sendToName) if isPlayerMuted ( thePlayer ) then outputChatBox ( "You Cannot Send Pm Message, Because You Are Muted" thePlayer, r, g, b, true ) return end local pmMessage = table.concat( { ... }, " " ) if not (toPlayer == thePlayer) then if not (pmMessage == "") then outputChatBox("#0088FF[#c8c8c8Priv?t]#FFFFFF Uzenet neki: #FFFFFF" .. getPlayerName(toPlayer) .. "#FF0000: " .. pmMessage, thePlayer, 255, 255, 255, true) outputChatBox("#0088FF[#c8c8c8Priv?t]#FFFFFF Uzenet t?le: #FFFFFF" .. getPlayerName(thePlayer) .. "#00FF00: " .. pmMessage, toPlayer, 255, 255, 255, true) else outputChatBox("#0088FF[#c8c8c8Priv?t]#FFFFFF Helytelen haszn?lat! Helyes:#FFFFFF /pm <név> <üzenet>", thePlayer, 255, 255, 255, true) return false end else outputChatBox("#0088FF[#c8c8c8Priv?t]#FFFFFF Magaddal nem tudsz csevegni#FFFFFF!", thePlayer, 255, 255, 255, true) return false end else outputChatBox("#0088FF[#c8c8c8Priv?t]#FFFFFF J?tékos nem tal?lhat?! #FFFF00(#FFFFFF"..sendToName.."#FFFF00)", thePlayer, 255, 255, 255, true) return false end else outputChatBox("#0088FF[#c8c8c8Priv?t]#FFFFFF Helytelen haszn?lat! Helyes:#FFFFFF /pm <név> <üzenet>", thePlayer, 255, 255, 255, true) return false end end addCommandHandler("pm", privateMessage)
  16. local TheWindow = GUIEditor.window[1] bindKey('F1','down', function () if guiGetVisible(TheWindow) then guiSetVisible(TheWindow ,false) showCursor(false) else guiSetVisible(TheWindow , true) showCursor(true) end end) الي بأول سطر , بأسم الصوره الي انت مسويها GUIEditor.window[1] استبدل هذا
  17. يغلق , وسيتم إبلاغك بالسبب بالخاص #
  18. هذا الفنكشن بيجيبلك كل الحسابات الي علي السيريال وانت سو لوب وحطهم بالقريد ليست getAccountsBySerial أستخدم
  19. إذا انت الي مسوي الكول شيب يمديك تعرف العرض و الطول من خلال هذه الارقمنتات : Required Attributes posX: A float representing the X position of the colshape. posY: A float representing the Y position of the colshape. posZ: A float representing the Z position of the colshape. radius: The radius of the colshape (spheres, tubes and circles only). width: The width of the colshape (rectangles and cubes only). depth: The depth of the colshape (rectangles and cubes only). height: The height of the colshape (cubes only).
  20. بما ان تمت الافاده في الطلب الاول , يغلق يرجي منك عمل موضوع اخر ..#
  21. https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540
  22. شكرأ لك علي ترجمة الموضوع وعلي جهودك الجميلة , وتم تصنيف الموضوع كـ مميز ويثبت لـ فتره من الوقت بالتوفيق
  23. اسم الماركر الي في سطر ٤ يختلف عن الموجود بالحدث في سطر ١٥
×
×
  • Create New...