Jump to content

iMr.Dawix~#

Members
  • Posts

    1,647
  • Joined

  • Last visited

Everything posted by iMr.Dawix~#

  1. --Client Side-- addEventHandler("onClientGUIClick",root, function() if (source == Button ) then Height = guiGetText(EditWave) triggerServerEvent("Wave",localPlayer,Height) end end) --Server Side-- addEvent("Wave",true) addEventHandler("Wave",root, function(Height) if tonumber(Height) then setWaveHeight(tonumber(Height)) outputChatBox("* [ " .. getPlayerName(source) .. " ] Has been choose the height", root, 0, 255, 0, true) else outputChatBox("* Error write the number !", source, 255, 0, 255, true) end end)
  2. متى تبيه يصير ذا الشيء حط له حدث مثلاً لو لمس ماركر او كتب امر
  3. setElementVisibleTo ( Marker2,root,true) root = getRootElement() << للفائدة فقط
  4. setElementVisibleTo ( Marker2,elementTo,true) elementTo = الي تصير له الوظيفه يعني يشوف او مايشوف الماركر
  5. ما طلب الكود كامل طلب مثال Edit: القانون الي يمنع وضع الكودات جاهزه راح بس لا تحط كذا خله ع الأقل يستفيد لآهنت
  6. الخطأ انه ماكان فيه حدث + الفنكشنات نفس الأسم
  7. اي كلمه واي قيمه تبيها
  8. = لو عطيته المعلومات بيسأل مره ثانيه كيف انقله لسيرفر
  9. giveWeapon + setPlayerTeam بس يجون سيرفر يعنهي لازم ترايفر للسيرفر triggerServerEvent
  10. source اللاعب هو مو اي حدث تقدر تغير اللاعب فيه getElementType ما يحتاج لأن اكيد الي يموت هو اللاعب مافيه غيره يموت
  11. ^ برضو خطـأ 'checkpoint' جربته؟
  12. زيادة ردود ؟؟؟ -_-" https://forum.multitheftauto.com/viewtopic.php?f=160&t=58309#p557322 لآ حيآة بلا زيادة مشاركات
  13. local marker = createMarker(-722.75562,972.28546,12.25666,'chekpoint',5, 255, 255, 0, 170)--cheakpoint الخطأ كان
  14. اما وش ذا مممم يمكن حق كبار العضويات يشوفونه
  15. ههنآ إنلحس ممخي ! ماعليك انت من الكود الي تحت اهم شيء الي فوق الي تحت فنكشن جاهز عشان يسوي هذا الكلام المهم هو setTimer(CreateTextItem,1000,1,player,1000, 0, 0, 255, 3,"1 Second!!",_,_,"center","top" ) setTimer(CreateTextItem,2000,1,player,1000, 0, 0, 255, 3,"2 Second!!",_,_,"center","top" ) setTimer(CreateTextItem,3000,1,player,1000, 0, 0, 255, 3,"3 Second!!",_,_,"center","top" ) CreateTextItem بس مايضبط ذذا الا لو ركبت ذا الكود عشان يعرف function CreateTextItem ( player, time, r, g, b, scale, text, x, y, alignX, alignY) if not player or not time or not text then return end if not tonumber(r) and not tonumber(g) and not tonumber(b) then r, g, b = 255, 0, 0 end if not scale then scale = 1 end if ( isElement( player ) and type ( text ) == 'string' and tonumber( time) ) then local Display = textCreateDisplay () local newtextItem = textCreateTextItem ( text, x or 0.5, y or 0.5, 2, r, g, b, 255, scale, alignX or "center", alignY or "center" ) textDisplayAddText ( Display, newtextItem ) textDisplayAddObserver ( Display, player ) setTimer(textDestroyTextItem, time, 1, newtextItem) setTimer(textDestroyDisplay, time, 1, Display) end end
  16. ماروح المدرسه الا عشان اخويائي هناك
  17. تسلم في ميزان حسناتك ان شاء الله قلت حق نفسك قبل ما تقول لنا؟
  18. اذا كتبت انا اكتب اكثر من الي كتبته << شغل تجميع مشاركات يلا كل واحد يكتب
  19. xml SQLتقريباً اكس ام ال اسهل من الـ
  20. لقافة بسيطة .. وردوهـ بس رآح لونة و لا هو مشرف ومبروكـ لـ : آهل الرياضض : http://www.slaati.com/2013/04/26/p42477.html ^ من زمان بس توهـ يحط الخبر .. وذولا : http://www.slaati.com/2013/04/26/p42495.html عقبال المملكة كآملة .. وأحنآ ما عطونآ مثلهم
×
×
  • Create New...