Jump to content

==>ҭᾄlᾄl

Members
  • Posts

    299
  • Joined

  • Last visited

Everything posted by ==>ҭᾄlᾄl

  1. --By |Mr|TalaL|07| function mu(msg,type) local server = string.find(msg,"سيرفر") if ( type == 0 ) then if ( server ) then cancelEvent () setPlayerMuted(source,true) outputChatBox("تم صكك ميوت لمخالفتك القوانين",source,255,0,0) setTimer( function () setPlayerMuted(source,false) outputChatBox("تم فك الميوت الرجاء عدم مخالفة القوانين",source,255,0,0) end ,60000,1) end end end addEventHandler("onPlayerChat",getRootElement(),mu)
  2. بدال setTimer ظفه مع اخفاء اللبل
  3. setTimer(addEventHandler,10000,1,"onMarkerHit",namem,namef) namem = اسم الماركر namef = اسم الوظيفه
  4. اذا كنت تبيه وهو يحمل استخدم الافنت ذا https://wiki.multitheftauto.com/wiki/OnResourcePreStart
  5. وش جبت يعني شي جديد ايه جاب شي جديد تحدد الصوره لكل نافذه
  6. server: -- By Al3grab tCars = {} tCan = {} function onjoin () tCan[source] = nil end addEventHandler("onPlayerJoin",root,onjoin) marcker1ofGive = createMarker (-3584.5581054688,-3007.271484375,60.200000762939, "cylinder", 4.5, 0, 0, 255, 320 ) function MarkerHit(thePlayer, source) if tCan[thePlayer] ~= true then if not isPedInVehicle(thePlayer) then x,y,z = getElementPosition( thePlayer ) tCars[thePlayer] = createVehicle ( 411, x,y,z ) warpPedIntoVehicle(thePlayer,tCars[thePlayer]) tCan[thePlayer] = true end end end addEventHandler( "onMarkerHit", marcker1ofGive, MarkerHit ) function onquit () if tCars[source] then if isElement(tCars[source]) then destroyElement(tCars[source]) end end tCan[source] = nil end addEventHandler("onPlayerQuit",root,onquit) function destroyIt() setTimer(function(car) for k,v in ipairs ( tCars ) do if v == car then tCars[k] = nil tCan[k] = nil end end destroyElement(car) end , 2000 , 1 ,source,controller) end addEventHandler("onVehicleExplode",root,destroyIt)
  7. اظغط كلك يمين على الملف واختار الاذوانت وحط رفمها 7777
  8. بس الطريقة لازم تجيب كل اسماء المودات بالحرف ذا تلقائي
  9. http://7kaim.com/vb/showthread.php?t=1074
  10. addCommandHandler("الأمر اللي تبيه ", function () if isPedInVehicle (source) then setElementPosition(getPedOccupiedVehicle (source),x,y,z) end end)
  11. اكتب في اف8 debugscript 3 وشوف وش الاخطاء + اطرح كودك كامل
  12. عدلت كودي + تاكد انك ظايف ملف الصوت للميتا "2.mp3" />
  13. ××× addEventHandler ("onClientGUIClick", root, function () if source == GUIEditor_Button[2] then if isElement(sound) then stopSound(sound) end sound = playSound("2.mp3") end end )
  14. امسح اخر سطر وبدله بذا addEventHandler( "onMarkerHit", root, ghg)
  15. اذا طلع اللعب من اي سياره يسوي عنده سياره ويركبها ويفجرها
×
×
  • Create New...