Jump to content

Me[Z]oO

Members
  • Posts

    1,830
  • Joined

  • Last visited

Everything posted by Me[Z]oO

  1. خخخخخخخخخخخخخخ انت قايل الفنكشنات بنفسك فوق addCommandHandler createTeam
  2. وين محاولتك ؟ لا تخاف م في احد صار يعطي جاهز الحين
  3. addEventHandler ( "onClientMarkerHit", root, function ( hitting ) if ( source == woodMark ) and ( hitting == localPlayer ) then if ( getElementData ( hitting, "Occupation" ) == "Wood-Jop" ) and not ( isPedInVehicle ( hitting ) )then if ( getPedWeapon ( hitting ) == 9 ) then bindKey ( "n","down", startJob2 ) end end end end ) جرب كذا ^
  4. نقصد كود المحاولة حقتك معطينا اللوحة وتبينا نحن نبرمج ؟ -_-"
  5. addEventHandler("onClientMarkerHit",root, function (hitting) if source == woodMark and hitting == localPlayer then if ( getElementData( hitting, 'Occupation' ) == "Wood-Jop" ) and not isPedInVehicle(hitting) then if getPedWeapon(hitting) == id then bindKey("N","down",startJob2) end end end end ) جرب مو متاكد من الكود بدل id ب اي دي السلاح
  6. مش كلمتني واتس ورديت عليك *-*
  7. عطيناك الفنكشنات بالموضوع الي سويته مخصوص عشان الطلب ذا !!
  8. @Valentino @iMr.SFA7 لانه محدد الماركر بدل الـroot addEventHandler ( "onMarkerHit", marker, --marker لازم يحط فولس او كذا مثلا addEventHandler ( "onClientGUIClick",button, function() --code end,false) لازمتها مشان الحدث م يشتغل علي اي زر اخر بس هنا addEventHandler ( "onMarkerHit", root, function(lc) if source == marker and getElementType(lc) == "player" then end end) م حطينا فولس مشان احنا تحققنا ان السورس == الماركر
  9. اهاا فكرته مسوي مسوي الاثنين getElementDimension
  10. function toggleFRWindow() if getElementInterior(localPlayer) == 0 or getElementDimension(localPlayer) == 10 then if guiGetVisible ( wndMain ) then guiSetVisible ( wndMain, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wndMain, true ) showCursor(true) guiSetInputEnabled(true) end end end bindKey ("F1", "down", toggleFRWindow) الكود الصحيح خطأك هنا ض كيف تبيه يكون بالديمشين 0 و10 بنفس الوقت ؟ المهم صححت لك الكود فوق
  11. بصراحة اقتراح رائع وابي اسويه والله ولكن سويت فورمات لجهازي وكل شي طار + كيف اطلب من ccw يفك تشفير المود ؟ كيف اعطيه دلائل انه حقي لو تعرف قول ولو م تعرف اتمني من الخبراء يردو
  12. علي وضعك انت منور [quote name=™!>VàLéNTiNô واصل # فالتينو الحب منور <3
  13. الكود حق طه بس عدلت عليه تفضل fixx = function(source) Player = getPlayerTeam ( source ) Money = getPlayerMoney(source) car = getPedOccupiedVehicle(source) rX, rY, rZ = getElementRotation(car) team = getTeamFromName ( "123" ) if Player == team then if car then if Money >= 5000 then takePlayerMoney(source, 5000) fixVehicle(car) setElementRotation(car, 0, 0, (rX > 90 and rX < 270) and (rZ + 180) or rZ) outputChatBox("تم تصليح السيارة وخصم 5000",source,0,255,0) else outputChatBox("لا تملك مال كافً",source,255,0,0,true) end else outputChatBox("لا تملك سيارة",source,255,0,0,true) end else outputChatBox("يجب ان في هذا الفريق (اسم الفريق)",source,255,0,0,true) end end addCommandHandler("fix",fixx)
  14. يسلمو علي المجاملة انت البطل <3
  15. منور سفاح <3 يسلمو مرة ثانية ! تكون ستنرق data مو شرط بالتوفيق ادري بس هذا كان بس مثال بسيط يعني م دققت به اوي المهم منور ذا بيست ويسلمو مرة ثانية
×
×
  • Create New...