Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. I've already found a simple and something more and more and more comfortable , it's setElementSyncer That's the greatest follow function ever
  2. وظايف setPedWeaponSlot getSlotFromWeapon احداث onClientPlayerWeaponSwitch
  3. مستحيل تشغل فيديوهات من الكمبيوتر , الام تي اي ما سوا هالخاصية من قبل ( كان غيرك سواها من زمان ) ومثل ما تشوف رد تابل ,, اذا تعرف تقرا انجليزي
  4. جرب obj=createObject(971,0,0,0,0,0,0) function attaching(asource) attachElements(obj,asource) removeCommandHandler("obj",attaching) addCommandHandler("obj",deattaching) end addCommandHandler("obj",attaching) function deattaching(dsource) if(getElementAttachedTo(obj)==dsource)then detachElements(obj,dsource) if(isTimer(timer)) then killTimer(timer) end timer=setTimer( function() if(getElementAttachedTo(obj)==dsource)then killTimer(timer) return nil end destroyElement(obj) end,10000,1 ) end removeCommandHandler("obj",deattaching) addCommandHandler("obj",attaching) end سيرفر
  5. سويه بنفسك , عطيناك الاكواد وانت ما تبي تسوي شي بنفسك اذا تبيني اسويه ارسلي رسالة خاصة , فيه كم السعر الي بتعطيني عشان اسويه لك وانا اعقلها بمخي أو رآآسل اي مبرمج تبي .
  6. Didn't work , hey can you fix the code on your own , maybe i missed something , and thanks.
  7. على شأن احطه في setSoundVolume ولو بسويه بالطريقة المختصرة مآراح يفهمه اللي طلبه =/ setSoundVolume ( playSound ( "mohamad.mp3" ), 1 ) انا قصدي local
  8. سويتلك مثال لعلك تفهم منه addEventHandler("onPlayerJoin",root, -- عند دخول اللاعب function() local team=getPlayerTeam(source) if(team)then -- اذا جاب تيم اللاغب for i, t in ipairs(getPlayersInTeam(team)) do -- يحط كل اللاعبين الي بهالتيم في جدول createRadarArea(0,0,43,23,255,255,0,180,t) -- يسوي لهم الرادار end end end ) هذا مثال بالتآكيد , فـ لا تنقله لمودك لان اذا اللاعب دخل وفي هالتيم , راح يسوي رادار كل شوي هذا فقط مثال
  9. وش ؟؟؟؟؟؟؟؟؟؟؟؟؟؟
  10. انت جرب صوت آخر مثل ما قلك عناد لا تسنى تسميه نفس الاسم ...
  11. function hill_Enter ( thePlayer ) if thePlayer == localPlayer then local theSound = playSound ( "mohamad.mp3" ) setSoundVolume ( theSound, 1 ) outputChatBox ( "you are left bank zone!!", 255, 255, 0, true ) end end addEventHandler ( "onClientColShapeLeave", col, hill_Enter ) ليش تسوي الصوت قلوبال وهو ما يستاهل ؟ ^ الافضل
  12. radararea createRadarArea ( float leftX, float bottomY, float sizeX, float sizeY, [ int r = 255, int g = 0, int b = 0, int a = 255, element visibleTo = getRootElement() ] ) تشوف الارقيومنت الآخيرة ؟ هذي هي
  13. استخدم createRadarArea
  14. تقصد الرادار اريا ؟ ولا البلب حقت اللاعب ؟
  15. Hello , i've made a ped following the player , but i really got sick of something does not work here's code Code removed the ped is following the player and everything is fine except warping the ped into vehicle when the player enters the vehicle.
  16. مو لما تشغل اللوكال سيرفر حق الجهاز يجيك شاشة سودة ؟ ,, ادخل اللعبة واكتب باف 8 refresh وقول وش جاك
  17. اعرض اللوق في صورة او قول وش يجيك باللوحة السودا
  18. وظايف createMarker -- عمل ماركر guiCreateWindow -- عمل نافذة guiSetVisible -- يظهر النافذة او يخفيها احداث onClientMarkerHit - عند لمس الماركر سوي الي فوق ^ createVehicle -- يصنع سيارة warpPedIntoVehicle -- يحط اللاعب (المحدد) بالسيارة المصنوعه setTimer -- استخدم ^ بعدين سوي الي فوق destroyElement -- يخفي اي المنت باللعبة سواءاً ان كان بيد او سيارة او اوبجكت الخ ...
  19. شايف "mohamad.mp3" /> في ملف ميتا استبدلها ب "mohamad.mp3"/>
  20. اذا تبي اي المنت باللعبة بعد مدة يختفي استخدم هالكود setTimer(destroyElement,3000,1,element) الحين عندك كلمة element ذي تحط بها الشي الي تبي تخفيه بعد مدة من الوقت شايف الرقم الي بعد كلمة destroyElement هذا معناه 3 ثواني تذكر ان ال 1000 = ثانية واذا تشوف رقم 1 هذي المرات يعني كم مرة راح يشتغل التايمر مرة , مرتين , 3 اذا 0 , يعني كل مررة بس انصحك لا تستخدم هالكود مع ال gui-elements النوافذ , الازرار , الخ ..
  21. صور صورة وحطها لنا , نبي نشوف كل شي داخل ملف ال .zip
×
×
  • Create New...