Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 18/06/17 in all areas

  1. خطأ انك تقوم بوضع اكثر من المنت وبنفس اسم المتغير PosTable = { {720.30627, -456.85587, 16.92993}, {721.30627, -456.85587, 16.92993}, {719.30627, -456.85587, 16.92993} } function soundStart() for k , v in pairs ( PosTable ) do local sound = playSound3D("sound.mp3", v[1],v[2],v[3], true) setSoundMaxDistance(sound, 200) end end addEventHandler("onClientResourceStart", resourceRoot, soundStart) واذا لم يعمل معك فالخطاء منك , قم بالتاكد من ملف الميتا او الملف الصوتي
    2 points
  2. Hello! Since dxText have to be drawn at every frame (onClientRender), the easiest way to move the text is to redefine it's position at every frame or with some method you prefer.
    1 point
  3. وش ذا ؟ Not starting resource 'resourcename' as server has come back from the future يجيبها في اف 8 بعد ما اشفر المود و اركبه يجيب لي الرسالة اللي فوق بس يجيب اسم المود بدل كلم ريسورس نيم و كمان المودات ما فيها اي هكر فوش السبب ؟ -- انتم اللي اشوفكم متفاعلين @iMr.WiFi..! @#Soking @#_iMr.[E]coo @#BrosS ملاحظة المودات ( نفسها ) بالتشفير شغالة بسيرفر آخر فوش مشكلة السيرفر الاول ؟
    1 point
  4. I'm not sure I understand that, what do you mean you would be lucky finding that position again?
    1 point
  5. "onClientPlayerJoin" guiGridListClear getElementsByType guiGridListSetItemText
    1 point
  6. Hi, I've updated the community to reflect the change that @pa3k suggested. Whenever the community is next updated the "feature" will be added.
    1 point
  7. تقصد لما تبي تسوي سليب لل كومبيوتر اللعبة ما تخرجك
    1 point
  8. أنا عارف هذا الشيء بس ممكن تقولي أنا في سطر كم مستخدمة غلط ؟ setElementDimension ( myMarker, dimension ) ضع الكود هذا تحت الماركر وأستبدل الـ dimension بالرقم اللي تبيه
    1 point
  9. أنا ما عملت غلطة ركز في الأكواد تبي تحط الـ fadeCamera في الكود نفسه ؟
    1 point
  10. addEventHandler ( "onElementClicked", root, function ( button, state, player ) if ( button == "left" and state == "down" ) then if ( getElementType ( source ) == "vehicle" and getElementModel ( source ) == 407 ) then if ( getPlayerTeam ( player ) and getTeamName ( getPlayerTeam ( player ) ) == "Military" ) then setElementDimension ( source, 60000 ) setElementPosition ( source, 191.89999, 1931.6, 24.3 ) else outputChatBox ( "You Should be a Military Officer to get in the MOC", player, 255, 0, 0 ) end end end end )
    1 point
  11. ------------ تمسك اللي دمه اقل من 30 onClientPlayerTarget -- حدث -- تحقق جوا فنكشن الحدث انو نوع الالمنت لاعب -- تحقق ان الالمنت دمه اقل من 30 او ايا كان الرقم اللي تبيه -- تحقق ان الاعب شرطي toggleAllControls -- تخلي الاعب مايقدر يتحرك او يسوي شئ --------------تخلي الاعب يمشي ورا الاعب اللي قبض عليه setPedControlState -- تخلي الاعب يمشي ورا الاعب getPedCameraRotation -- نجيب التوجيه حق الاعب اللي قبض علي المجرم setPedCameraRotation -- تخلي الاعب المقبوض عليه يتوجه لللاعب اللي قبض عليه
    1 point
  12. ان ما خاب ظني اتوقع انك لما تشفر الملفات تختار النوع الثالث .. المفروض لما تختار النوع الثالث في التشفير تحط كلمات في الميتا ناسي وش هي بس حط التشفير النوع الثاني احسن لك واريح لك Extra obfuscation - اقصد هذا في النوع :"
    1 point
  13. if x and y then -- code where you use x and y end Let me remind you that this section is for learning scripting and not for repairing scripts from the community. (if you are not a scripter)
    1 point
  14. بغيت ارد عليك وانت بخير وتوني الاحظ مكتوب وانا هههههههههههههههههههههههه , الله يهديك بس ههههههههههههه
    1 point
  15. كودك زابط بس المشكلة منك شوف المثال ذا ع نفس كودك ! هذا خطأ ؟ function closeWindow1 ( wnd ) guiSetVisible ( wnd , false ) end local Functions = { [1] = { Button = join , Function = joinJob }, [2] = { Button = ex , Function = closeWindow }, [3] = { Button = leave , Function = leaveJob }, [4] = { Button = ex_1 , Function = closeWindow1 } } addEventHandler("onClientGUIClick",resourceRoot,function() for index = 1 , #Functions do if ( source == Functions [ index ] [ "Button" ] ) then Functions [ index ] [ "Function" ] () end end end ) أما الصحيح فهذا function closeWindow1 ( wnd ) guiSetVisible ( wnd , false ) end local Functions = { [1] = { Button = join , Function = joinJob }, [2] = { Button = ex , Function = closeWindow }, [3] = { Button = leave , Function = leaveJob }, [4] = { Button = ex_1 , Function = closeWindow1 } } addEventHandler("onClientGUIClick",resourceRoot,function() for index = 1 , #Functions do if ( source == Functions [ index ] [ "Button" ] ) then Functions [ index ] [ "Function" ] ( wnd2 ) end end end )
    1 point
  16. for _ , v in ipairs ( getElementsByType ( 'player' ) ) do bindKey ( v , 'F1' , 'Down' , function ( v ) outputChatBox ( 'done ?' , v ) end ) end
    1 point
  17. طيب يعني كذا مظبوط -- function guiCreateButton(x,y,x1,y1,text,state,realative,png) local imgl = guiCreateStaticImage(x,y,x1,y1,png, state, realative) local lbll =guiCreateLabel(x+0.4,y,x1,y1, text, state, realative) return imgl end log = guiCreateButton(187, 127, 88, 38,"Login", false, wnd,'gg.png') ؟
    1 point
  18. bindKey تستخدم لإنشاء ( استعمال ) مفتاح من لوحة المفاتيح تستخدم في الملفين كلينت و سيرفر الجملة التركيبية لملف الكلينت bindKey ( string key, string keyState, function handlerFunction, [ var arguments, ... ] ) key -- سترنج و هي المفتاح اللي تبي تسويه keyState -- سترنج وهي نوع الضغط على المفتاح ( وقت الضغط لأسف - لأعلى - الخ ) function -- اسم الفنكشن اللي بتسوي له اشارة على سبيل المثال function giveMeMoney () givePlayerMoney ( 50 ) end bindKey ( "G", "down", giveMeMoney ) الجملة التركيبية لملف السيرفر bool bindKey ( player thePlayer, string key, string keyState, function handlerFunction, [ var arguments, ... ] ) thePlayer-- اللاعب -- لازم يكون معرف key -- سترنج و هي المفتاح اللي تبي تسويه keyState -- سترنج وهي نوع الضغط على المفتاح ( وقت الضغط لأسف - لأعلى - الخ ) function -- اسم الفنكشن اللي بتسوي له اشارة على سبيل المثال function giveMeMoney ( player ) givePlayerMoney ( player , 50 ) end bindKey ( player, "G", "down", giveMeMoney ) -- لازم اللاعب يكون معرف
    1 point
  19. اذا يطفيها بالطفاية تروح تلقائية :!
    1 point
  20. 1 point
  21. النار تندفى بعد 15ثانية تلقائيا !
    1 point
  22. setElementFrozen createMarker
    1 point
  23. if not getPlayerTeam(source) and getPlayerTeam(source) == getTeamFromName("Military") جرب و ردلي
    1 point
  24. كخبير في اللغة اللون غير متناسق لون النص ليس جيد ربطك للسيرفر للموقع بالقاعدة : شيء جيد القوائم : غير جيدة ستايل : غير جيد طرق التواصل : جيدة
    1 point
  25. My goal was to make all drawings the same size on every resolution, however, it doesn't really seem possible. I also tried using MTA "default-bold" and "default" fonts, with which I had the same problem as using the custom ones (weirdly enough)...
    1 point
  26. It's called opacity under Multiplayer.
    1 point
  27. @StiviK Very nice, it was necessary for some servers, thank you! But, can you explain how we can install/use it in our servers? Thank you again!
    1 point
  28. https://wiki.multitheftauto.com/wiki/OnElementClicked https://wiki.multitheftauto.com/wiki/MoveObject
    1 point
  29. vR-ul a revenit! Roleplay de calitate, scripturi noi și un staff execepțional. vR-ul nu va fi ”deleted”, hostul este asigurat și RP-ul este menținut în permanență de către staff. De asemenea, nu mai sunt ”fetițe” în staff, doar oameni serioși, aleși cu aplicații pe forum și nu pe donații. Facțiunile sunt puse la punct de către mine și Beni, astfel că nu vor exista probleme cum erau înainte, ”bătălii între SASD și LSPD”. Modurile sunt HD alternate cu low-poly, pentru ca jucătorii care doresc să fie modat low-poly să aibă posibilitatea. Forța vR-RP !
    1 point
  30. كلام فاضي بما انك مبرمج ولك خبره بمجرد اي واحد يطلب منك مود ويعطيك مواصفاته بالكامل ماراح يصعب عليك انك تسويه هذا ان كنت مبرمج اما سالفة مبرمج هجولة ومبرمج زومبي اعرف ماعنده سالفة لان المبرمج يقدر يسوي اي سكربت بمجرد انه ياخذ الفكرة
    1 point
  31. هاظ اللي ناقصني ، يجي واحد ويعلم علي
    1 point
  32. مع الاسف يب .. المهم يا ايكو نصيحة لا تسوي مواضيع كثيرة في اشياء مارح تفيدك ميشان ما يجيك تنبيه وما الى غيره
    1 point
  33. خالاص ي كيلر ، احنا زهئناه هو احسن منا كتييير هو مبرمج حلو واحنا مش مناح ، لك احنا ما نعرف معنى lua اسفين كتير انا وكيلر وبالتوفيء
    1 point
  34. اششششششششششششش ، كيف الاحداث فنكشنات ؟ لما ودي اعطي لاعب دم setElementHealth ( element , 0 ) احطه بالايفنت ؟ addEventHandler ("setElementHealth",function ( element , 100 ) ) ههههههههههههههههههههههههههه ، اصحا من الآجو الي تشمه
    1 point
×
×
  • Create New...