Jump to content

#StrOnG_,)

Members
  • Posts

    1,007
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by #StrOnG_,)

  1. السلام عليكم وش الخطأ بهذي الاكواد ؟ function spawnz(player) if not isElement(player) then return end if ( getElementDimension ( player ) == 3 ) then fadeCamera ( player, false ) setTimer ( fadeCameraDelayed3, 1000, 1, player ) setCameraTarget(player, player) showChat(player, false) end end function fadeCameraDelayed3(player) if (isElement(player)) then fadeCamera(player, true) showChat(player, true) repeat until spawnPlayer ( player, 1556.44141 ,2732.21826, 10.67188, 70 ,107 ) setElementDimension ( player, 3 ) end end addEventHandler("onPlayerWasted", root, function() setTimer(spawnz, 1800, 1, source) end ) هو صح يرسبن لما تيمي اسمه Zombie والدمنشن حقي 3 لكن لما اغير الدمنشن حقي وادخل تيم ثاني يرسبن بنفس المكان الي حاطه لتيم Zombie ولدمنشن 3 اتمنى تصححوه لي وشكرآ
  2. ياربي يالله ياخي شفيكم ؟ قلت تمت الافادة الف مره لازم اقولها ؟
  3. # قلت فادوني فوق عبد الكريم عطاني الي ابيه ومشكور.
  4. تشوف ؟ ولا اجيب لك نظارات ؟ قلت اسلحة مو فلوس + فادوني فوق !
  5. مشكور , امين وياك ^
  6. السلام عليكم ممكن مثال لهذا الفنكشن ؟ math.random ابي اذا يكتب كلمه باف 8 يعطي اسلحة عشوائية محددة وشكراً
  7. ما تقدرون تساعدون لا تردون عليه وبدون تغير مسار الموضوع ^ ,
  8. السلام عليكم ينفع احط صورة متحركة ؟ صيغتها gif وتكون تتحرك ؟ الي ما متاكد من جوابه ياريت ما يرد .
  9. للنجوم فقطط ؟ مو للدم والدرع يب ادخل للفنكشن بالويكي وانت سويه للـ Wanted النجوم . تصحيح فنكشن برو قيمر صفحة الفنكشن على الويكي https://wiki.multitheftauto.com/wiki/ShowPlayerHudComponent مثال setPlayerHudComponentVisible ( localPlayer, "wanted", false )
  10. قام يجي مشاكل بالدي بق بملف السيرفر كله ملف السيرفر addEvent("BuyWeapon", true) addEventHandler("BuyWeapon", root, function (costall2,ID16,ID22,ID23,ID24,ID25,ID26,ID28,ID29,ID30,ID31,ID32,ID33,ID34,ID35,ID36,ID38) if getPlayerMoney(source) >= tonumber(costall2) then takePlayerMoney ( source,costall2) if ID16 > 0 then giveWeapon(source, 16, ID16) end if ID22 > 0 then giveWeapon(source, 22, ID22) end if ID23 > 0 then giveWeapon(source, 23, ID23) end if ID24 > 0 then giveWeapon(source, 24, ID24) end if ID25 > 0 then giveWeapon(source, 25, ID25) end if ID26 > 0 then giveWeapon(source, 26, ID26) end if ID28 > 0 then giveWeapon(source, 28, ID28) end if ID29 > 0 then giveWeapon(source, 29, ID29) end if ID30 > 0 then giveWeapon(source, 30, ID30) end if ID31 > 0 then giveWeapon(source, 31, ID31) end if ID32 > 0 then giveWeapon(source, 32, ID32) end if ID33 > 0 then giveWeapon(source, 33, ID33) end if ID34 > 0 then giveWeapon(source, 34, ID34) end if ID35 > 0 then giveWeapon(source, 35, ID35) end if ID36 > 0 then giveWeapon(source, 36, ID36) end if ID38 > 0 then giveWeapon(source, 38, ID38) end end end ) ولما ابي اشتري شي يجي بالدي بق server.lua:21:attempt to compare numper with nil
  11. أمممممممممممم !
  12. حياك الله , بس ابغي صوره للمود بعد ماضبط معك بشوفه .. أفكر اسوي معرض سيارات خطير ض1 مو للاكواد للوحه نفسها ايهه ابشر ض -- --
  13. مشكور مستر ار وباقي الشباب <3 ممكن اعرف وش كان الخطأ
  14. نفس المشكلة ولكن بسطر رقم 6 Server.lua:6: attempt to compare numper with boolean
  15. جرب الحين Server.lua:7: attempt to compare numper with boolean شكلها معانده معي هذي المره :@
  16. ما ضبط @ يقول فيه اند زايد بـ سطر 10 حذفت الاند يجي لي بالدي بق Server.lua:20: unexpected symbol near ) @_@
  17. نفس المشكلة ونفس الكلام بالدي بق @_@
  18. local Vehicle = { }; addEvent ( "Cars", true ) addEventHandler ( "Cars", root, function ( iD, Money, player ) if ( getPlayerMoney ( player ) >= tonumber ( Money ) ) then takePlayerMoney ( player, tonumber ( Money ) ) outputChatBox ( "* [ "..tonumber ( Money ).." ] بـ هذا المبلغ [ "..getVehicleNameFromID ( iD ).." ] لقد اشتريت السيارهـ", player, 0, 255, 0, true ) else outputChatBox ( "* لا تملك المال الكافي لـ شراء سيارهـ", player, 255, 0, 0, true ) end if ( isElement ( Vehicle[source] ) ) then destroyElement ( Vehicle[source] ) end local x, y, z = getElementPosition ( player ) Vehicle[source] = createVehicle ( iD, x, y, z ) warpPedIntoVehicle ( player, Vehicle[source] ) end ) Server.lua:6: attempt to compare numper with boolean ومعي فلوس عشان اشتري .
  19. عندك خطأ بالسيرفر server.lua:10 'end' expected (to close ' function' at line 5 near else
×
×
  • Create New...