Jump to content

Bassam*Syria

Members
  • Posts

    391
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Bassam*Syria

  1. مو موجود ممكن رابط التحميل ؟
  2. مرحبا شباب اخبراكم نشالله بيخر ب اي سيرفر لما تتكبس تاب يجي اسم الاعب و على يمينه لو حاطين مود الوقت يظهر و كذا بس انا عندي التاب كله م يظهر ممكن مساعدة؟
  3. في مشكبة صغير هنا taxiVehs = { [553] = true, [593] = true كيف اكتر الطائرات ؟ لما اكتر الطائرات يخرب 553 = طاائرة Teame = createTeam("Pilot", 0, 255, 0) taxiTeams = { [Teame] = true } taxiVehs = { [553] = true, [593] = true function teamSet (id) local team = getTeamFromName ( "Pilot" ) if team then setPlayerTeam ( source, team ) setPlayerNametagColor ( source, 0, 255, 0 ) setElementModel(source, id) warnText("You are now Pilot job.",source,255,255,0) else local teamw = getTeamFromName ( "Pilot" ) if teamw then cancelEvent() end end end
  4. اكيد يعين ما احطلك المود كله بحطلك الغلط بس الي ابيه :@ ترتيب الاكواد صح ولا لا :@ لو مبرمج تفهم بس
  5. في اكواد ضايفهم هم اكواد الطيارات ابي تصيلح لو اضافتي صح ولا لا
  6. انا سويت وظيفة الطيار لما اضيف اكتر من طيارة يخرب و هي الاكواد شفلي طريقة الاضافة صح و لا لا
  7. في 4 اكواد غلط 1 Teame = createTeam("Pilot", 0, 255, 0) taxiTeams = { [Teame] = true } localtaxiVehs = { [1]={ 593 }, [2]={ 511 }, [3]={ 513 }, [4]={ 519 }, [5]={ 512 }, [5]={ 553 } } = true } 2 function inVEH ( thePlayer ) if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then if ( getElementModel ( source ) == 593 or ( source ) == 511 or ( source ) == 513 or ( source ) == 519 or ( source ) == 512 or ( source ) == 553 startJob ( thePlayer ) end end end 3 function warpit ( thePlayer ) if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then local vehiclee = getPedOccupiedVehicle ( thePlayer ) if ( getElementModel ( vehiclee ) == 593 or 511 or 513 or 519 or 512 or 553 ) then setTimer ( warpPedIntoVehicle, 2000, 1, peds [ thePlayer ], vehiclee, 1 ) destroyJob ( thePlayer ) local x, y, z = unpack ( dropoffss [ math.random ( #dropoffss ) ] ) markers [ thePlayer ] = createMarker ( x, y, z - 1, "cylinder", 5.0, 255, 255,0, 255 ) mposii = { getElementPosition( markers [ thePlayer ] ) } blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 41, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], pickmeup ) end end end 4 local marker = {} local vehicleId1 = { [1]= 593, [2]= 511, [3]= 513, [4]= 519, [5]= 512, [6]= 553 }
  8. https://luac.multitheftauto.com/ بس اشفره بسويه مود و احطه بسيرفر ما يشتغل !
  9. شباب قي مشكلة لما اشفر مود يخرب ليش ؟
  10. السلام عليكم معي اكواد فتح بوابة حين يتم تابة كلمة ب اف 8 ممكن تقلولي كيف اخليها لما يقرب من الباب و يكبس زر يفتح ؟ تفضلو الاكواد gate = createObject(971,2481.1999511719,-1722.1999511719,16.10000038147,0,0,0) function opendoor() moveObject (gate, 5000, 2481.1999511719, -1722.1999511719, 16.10000038147 ) end addCommandHandler("close1", opendoor) -- زر اغلاق الباب الاول function closedoor() moveObject (gate, 5000, 2481.1999511719, -1722.1999511719, 22.700000762939 ) end addCommandHandler("open1", closedoor) -- زر فتح الباب الاول ---------------------------------------------------------------- gate2 = createObject(971,2420.8999023438,-1659.0999755859,16,0,0,90) function opendoor() moveObject (gate2, 5000, 2420.8999023438, -1659.0999755859, 16 ) end addCommandHandler("close2", opendoor) --زر اغلاق الباب الثاني function closedoor() moveObject (gate2, 5000, 2420.8999023438, -1659.0999755859, 21.10000038147 ) end addCommandHandler("open2", closedoor) -- زر فتح الباب الثاني
  11. ممكن تدمها مع الكود تاعي علا شان ما اتخربط لو سمحت
  12. انا عملت مود و كل اشي بس في مشكلة لما ياخذ الوظيفة و السيارة و يجيلو علامة بالخرية لازم يرحلها بس المشكلة انو العلامة بتظهر عند الكل انا بدي ياها تظهر عند الشخص الي بالطيارة بس ممكن مساعدة ؟ function startJob ( thePlayer ) local x, y, z = unpack ( pickups [ math.random ( #pickups ) ] ) markers [ thePlayer ] = createMarker ( x, y, z, "cylinder", 5.0, 255, 0, 0, 0 ) mposi = { getElementPosition( markers [ thePlayer ] ) } local skins = unpack ( pedCus [ math.random ( #pedCus ) ] ) peds [ thePlayer ] = createPed( skins, x, y, z ) blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 58 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], warpit ) end
  13. انا عملت مود و كل اشي بس في مشكلة لما ياخذ الوظيفة و السيارة و يجيلو علامة بالخرية لازم يرحلها بس المشكلة انو العلامة بتظهر عند الكل انا بدي ياها تظهر عند الشخص الي بالطيارة بس ممكن مساعدة ؟ function startJob ( thePlayer ) local x, y, z = unpack ( pickups [ math.random ( #pickups ) ] ) markers [ thePlayer ] = createMarker ( x, y, z, "cylinder", 5.0, 255, 0, 0, 0 ) mposi = { getElementPosition( markers [ thePlayer ] ) } local skins = unpack ( pedCus [ math.random ( #pedCus ) ] ) peds [ thePlayer ] = createPed( skins, x, y, z ) blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 58 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], warpit ) end
  14. بدي اسوي منطقة حماية يعني ما يقدر يطلع سلاح ولا يقدر يقل حد داخلها و كذا الرجاء المساعدة الرجاء تجبلي الاكواد مب الفنكشات بليز
  15. بدي اسوي منطقة حماية يعني ما يقدر يطلع سلاح ولا يقدر يقل حد داخلها و كذا الرجاء المساعدة
  16. بدي ماركر انتقال عني يدخل الماركر ينتقل لمكان لمكان انا احددها و يدخل ب ماركر بالمكان الي انتقل عليه يرجع للمكان قبل ما ينتقل و شكرا
  17. ابي اسوي باب يفتح ب زر معين ممكن ؟
  18. ابي كود بسوي بوابة بس بتفتح ب زر معين انا بختاره مثال زر التاب
  19. في عطل بالمود لما حد ياخذ سيارة من الوحة و واحد تاني يبي السيارة و ياخذها تختفي من الاول الرجاء المساعددة function FadyCar ( ) if isPedInVehicle ( source ) then outputChatBox ( " Exit your car first !! ",source,255,0,0,false) CancelEvent () else x,y,z = getElementPosition ( source ) if isElement(VIPCar) then destroyElement(VIPCar) end VIPCar = createVehicle ( 411, x, y, z ) warpPlayerIntoVehicle ( source, VIPCar ) text = "VIP Car" setVehiclePlateText ( VIPCar, text ) setVehicleDamageProof ( VIPCar, true ) end end addEvent( "FadyVIPCar", true ) addEventHandler( "FadyVIPCar", getRootElement(), FadyCar )
  20. ملف السيرفر addEvent("outputAttacker", true) addEventHandler("outputAttacker", root, function() outputChatBox("TEST Server") outputChatBox("You Can't kill that Player, because he doesn't have 0 Wanted Level", source, 255, 255, 255) end)
  21. انا الحين ابي لو انا في تيم واحد تاني في تيم ما نقدر نقتل بعد عادي بس الشرطي لو ما علي نجوم ما يقدر يقتلني لكان هذا الكود كل التيمات ما تقدر تقتل بعد لو عليها نجوم يقدر [lua] addEventHandler("onClientPlayerDamage", localPlayer, function(attacker) if (attacker and getElementType(attacker) == "player" and attacker ~= source) then if (getPlayerTeam(source) == getTeamFromName("Criminals") or getTeamFromName("Emergency") or getTeamFromName("Civilian Workers") or getTeamFromName("Unoccupied") or getTeamFromName("Unemployed") and getPlayerTeam(attacker) == getTeamFromName("Police Services") or getTeamFromName("SWAT Team") or getTeamFromName("F.B.I") or getTeamFromName("Royal Army")) then if (getPlayerWantedLevel() > 0) then return end if (getPlayerWantedLevel() == 0) then cancelEvent() triggerServerEvent("outputAttacker", attacker) end end end end) [/lua]
  22. انا وسته بس ما كنت اعررف وين الغلط !! marker = createMarker( 1172.5999755859,-1320.6999511719,14.39999961853,"cylinder",1.5,0,0,0,0) marker1 = createMarker( 1625.5999755859,1814.3000488281,9.6000003814697,"cylinder",1.5,0,0,0,0) marker2 = createMarker( -2676.1999511719,634.29998779297,13,"cylinder",1.5,0,0,0,0) createBlipAttachedTo(marker1,56) createBlipAttachedTo(marker2,56) createBlipAttachedTo(marker3,56) local ped1 = createPed(274, 1625.6999511719, -1320.6999511719, 15.39999961853, 268.001831) local ped2 = createPed(275, 1625.6999511719, 1814.4000244141, 10.89999961853, 0.00274658) local ped3 = createPed(276, -2676.1999511719, 634.40002441406, 14.5, 180.005493) setElementFrozen(ped1,true) setElementFrozen(ped2,true) setElementFrozen(ped3,true) function onPedDamage () if (source == ped1) or (source == ped2) or (source == ped3) then cancelEvent() end end addEventHandler("onClientPedDamage", resourceRoot, onPedDamage ) local x,y = guiGetScreenSize() local oldSkin = getElementModel(localPlayer) function onHitMarker (hit) if (source == marker1) or (source == marker2) or (source == marker3) then if ( hit == localPlayer ) then if isPedInVehicle(localPlayer) then return end guiSetVisible(GUIEditor.window[1],true) showCursor(true) local oldSkin = getElementModel(localPlayer) guiGridListSetSelectedItem ( GUIEditor.gridlist[1], 0, 0) end end end addEventHandler("onClientMarkerHit", resourceRoot, onHitMarker ) addEvent("ShowMessage",true) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} windowjob = guiCreateWindow(543,122,229,467,"Medic job",false) guiSetVisible(windowjob,false) guiSetAlpha(windowjob,true) GUIEditor_Button[1] = guiCreateButton(10,407,105,41,"Take job",false,windowjob) GUIEditor_Button[2] = guiCreateButton(132,407,88,39,"Cancel",false,windowjob) GUIEditor_Label[1] = guiCreateLabel(8,30,212,20,".:[by Bassam\"Syria\"963]:.",false,windowjob) GUIEditor_Memo[1] = guiCreateMemo(9,51,209,343,"الغة العربية: شرح الوظيفة : \nبعد اخذ الوظيفة يمكنك اسعاف \nالاعبين.\n\n\n\n___________________________\nAS A English: Explain the functionality\n\nAfter taking the job, you can ambulance\nPlayers.\n\n====================",false,windowjob) guiMemoSetReadOnly(GUIEditor_Memo[1],true function Medicjob(hitElement) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then if not guiGetVisible(windowjob) then guiSetVisible(windowjob, true) showCursor(true) end end end addEventHandler("onClientMarkerHit", marker and marker1 and marker2, Medicjob) function Medicjobleave(leaveElement) if getElementType(leaveElement) == "player" and (leaveElement == localPlayer) then if guiGetVisible(windowjob) then guiSetVisible(windowjob, false) showCursor(false) end end end addEventHandler("onClientMarkerLeave", marker and marker1 and marker2, Medicjobleave) function joinTeam() triggerServerEvent("setMedic",localPlayer) guiSetVisible(windowjob, false) showCursor(false) end addEventHandler("onClientGUIClick", GUIEditor_Button[1] , joinTeam, false) function removeMedicWindow() guiSetVisible(windowjob, false) showCursor(false) end addEventHandler("onClientGUIClick", GUIEditor_Button[2] , removeMedicWindow, false) addEventHandler("onClientPlayerDamage", localPlayer, function(attacker, weapon, bodypart, loss) team = getPlayerTeam(attacker) if (attacker and getElementType(attacker) == "player" and weapon == 41 and team and getTeamName(team) == "Medic") then cancelEvent() if (not isTimer(pause)) then local health = getElementHealth(localPlayer) if (health < 99) then triggerServerEvent("medic:healing", localPlayer, attacker) pause = setTimer(function() end, 1000, 1) end end end end)
  23. انا سويت بنكن و كل اشي كيف اخلي وظيفة البنك ياخذ الوظيفة كيتب ب اف 8 sell يطلع ماركر امامه و مل حد يح رصيد بالبنك عن طريق اي لاعب ياخذ 3000 ممكن اي مساعدة او اي تقريب لهشي ؟
×
×
  • Create New...