Jump to content

#MFGR7OM

Members
  • Posts

    175
  • Joined

  • Last visited

Everything posted by #MFGR7OM

  1. [function guiCreateButton( x2, y2, width2, height2, titleBarText2, relative2,y ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "S1.png", relative2,y ) local mainBackgroundLabel = guiCreateLabel ( 10,4,250, 100, titleBarText2, false, mainBackground ) guiLabelSetColor(mainBackgroundLabel,math.random(0, 255), math.random(0, 255), math.random(0, 255)) guiLabelSetColor(GridList,math.random(0, 255), math.random(0, 255), math.random(0, 255)) guiSetEnabled ( mainBackgroundLabel, false ) guiSetFont ( mainBackgroundLabel, newFont ) return mainBackground end addEventHandler( "onClientMouseEnter", guiRoot, function( ) if ( source == GUIEditor.button[2] ) then guiStaticImageLoadImage(GUIEditor.button[2],"S2.png") playSoundFrontEnd ( 1) end end ) addEventHandler( "onClientMouseLeave", guiRoot, function( ) if ( source ==GUIEditor.button[2] ) then guiStaticImageLoadImage(GUIEditor.button[2],"S1.png") end end )
  2. + addEventHandler تستهبل؟ مهو لازم يستخدم ذا لانه اساسي ولا زيادة مشاركات
  3. اول شي سوي لها تايمر وبعدين كيلر تايمر علشان تنهي الحركه setTimer killTimer
  4. اسماء الااعبين ما تصير بتاب سويها قريد لست guiCreateGridList
  5. بالنسبه للسيارات استخدم جدول وحط الايدي المعين
  6. addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do bindKey(player, "x", "down", bKey) end end) addEventHandler("onPlayerJoin", root, function() bindKey(source, "x", "down", bKey) end) function bKey(player) local x, y, z = getElementPosition(player) local theVehicle = createVehicle(518, x, y, z) warpPedIntoVehicle(player, theVehicle) end addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do bindKey(player, "x", "down", bKey) end end) addEventHandler("onPlayerJoin", root, function() bindKey(source, "x", "down", bKey) end) function bKey(player) local x, y, z = getElementPosition(player) local theVehicle = createVehicle(518, x, y, z) warpPedIntoVehicle(player, theVehicle) addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do bindKey(player, "x", "down", bKey) end end) addEventHandler("onPlayerJoin", root, function() bindKey(source, "x", "down", bKey) end) function bKey(player) local x, y, z = getElementPosition(player) local theVehicle = createVehicle(518, x, y, z) warpPedIntoVehicle(player, theVehicle) setVehicleDamageProof(newvehicle, true) end استخدم [lua]
  7. لا تخبط الكلنت والسرفر اذا تبي سوي لها تريقر علشان ترسل من الكلنت للسيرفر وبالعكس
  8. سويه جدول واستخدم "onClientGUIClick" createVehicle "onClientVehicleEnter" setElementModel -- Set Skin "EdiT"
  9. تزوير بتوقع مافي شي يضحك وانصحك تنقلع مسوي نفسه خبير هو انت كل يوم ابي تعديل ابي كود روح بس الله يهديك وبتوقع مافيه شي غلط هو قال ابي تطلع وانا عطيته اوتبوت شات بوكس ولما اللاعب يدخل
  10. تستخدم ذا الايفينت "onClientGUIClick" حسب ارقام الزر وترقمهاbutton[1] وكذا وتضيف لها الوضيفه + كمثال شوفف ذا لما تضغط راح يشغل الاغنيه addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[1])then if(sound)then return end sound = playSound("http://cdn.top4top.net/d_11668d4a9b1.mp3",true) elseif(source == GUIEditor.button[11])then if(sound)then stopSound(sound) sound = nil end end end )
  11. Event "onClientGUIClick" guiSetVisible وضح السؤال الثاني
  12. addCommandHandler -- امر فتح اللوحة guiSetVisible -- فتح اللوحه createVehicle -- يعطيه سياره setElementHealth -- يعطيه دم fixVehicle -- يصلح السياره ماعرفت حق النفاثه
  13. شوفـها هنـا element +موجوده بالنت
  14. استخدم setWeaponProperty bindKey getPlayerSerial - then
  15. ههههههه ض1 تقصد onPlayerJoinTeam يبيلنا مثل ذا الحدث
  16. تابل والطريقة الاخرى وش تسوي تحمله ولا لا ذي fetchRemote
×
×
  • Create New...