-
Posts
292 -
Joined
-
Last visited
Everything posted by BeCooL
-
حذفو موضوعي ههههههه
-
ما ضبظ وهذا الكود اذا كنت انا غلطان فيه myMarker1 = createMarker( 1184.3974609375, -1315.8817138672, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) myMarker2 = createMarker( 1174.0268554688, -1332.1184082031, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) addEventHandler ( "onMarkerHit", myMarker1, function ( hitPlayer ) if ( isPedInVehicle ( hitPlayer ) == false ) then theData = getElementData ( hitPlayer , "theCar" ) if ( theData ) then destroyElement ( theData ) destroyElement ( theData ) end x, y, z = getElementPosition ( hitPlayer ) myCar = createVehicle ( 481, x, y, z ) warpPedIntoVehicle ( hitPlayer, myCar ) setElementData ( hitPlayer, "theCar", myCar ) end end ) addEventHandler ( "onMarkerHit", myMarker2, function ( hitPlayer ) if ( isPedInVehicle ( hitPlayer ) == false ) then theData2 = getElementData ( hitPlayer , "theCar2" ) if ( theData ) then destroyElement ( theData ) destroyElement ( theData ) end x, y, z = getElementPosition ( hitPlayer ) myCar2 = createVehicle ( 481, x, y, z ) warpPedIntoVehicle ( hitPlayer, myCar2 ) setElementData ( hitPlayer, "theCar2", myCar2 ) end end )
-
جرب كذا myMarker1 = createMarker( 1184.3974609375, -1315.8817138672, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) myMarker2 = createMarker( 1174.0268554688, -1332.1184082031, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) addEventHandler ( "onMarkerHit", myMarker1, function ( hitPlayer ) if ( isPedInVehicle ( hitPlayer ) == false ) then theData = getElementData ( hitPlayer , "theCar" ) if ( theData ) then destroyElement ( theData ) destroyElement ( theData2 ) end x, y, z = getElementPosition ( hitPlayer ) myCar = createVehicle ( 481, x, y, z ) warpPedIntoVehicle ( hitPlayer, myCar ) setElementData ( hitPlayer, "theCar", myCar ) end end ) addEventHandler ( "onMarkerHit", myMarker2, function ( hitPlayer ) if ( isPedInVehicle ( hitPlayer ) == false ) then theData2 = getElementData ( hitPlayer , "theCar2" ) if ( theData2 ) then destroyElement ( theData2 ) destroyElement ( theData ) end x, y, z = getElementPosition ( hitPlayer ) myCar2 = createVehicle ( 481, x, y, z ) warpPedIntoVehicle ( hitPlayer, myCar2 ) setElementData ( hitPlayer, "theCar2", myCar2 ) end end ) نفس المشكله وآسف تعبتكم معاي
-
اهو ظبط بس اذا طلعت سيارة من الماركر الاول وطلعت سيارة من الثاني ماتروح اللي من الماركر الاول فهمت علي ؟
-
والله حاولت في الجدول ولا ظبط بس ياليت تعدل لي الكود اللي في الرد اللي قبل يطلع اكثر من سيارة انا ابغاها اذا طلع الاعب سيارة تروح اللي قبلها
-
جربتها وطلع الكود كذا myMarker1 = createMarker( 1184.3974609375, -1315.8817138672, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) myMarker2 = createMarker( 1184.0268554688, -1332.1184082031, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) addEventHandler ( "onMarkerHit", myMarker, function ( hitPlayer ) if ( isPedInVehicle ( hitPlayer ) == false ) then theData = getElementData ( hitPlayer , "theCar" ) if ( theData ) then destroyElement ( theData ) end x, y, z = getElementPosition ( hitPlayer ) myMarker = createVehicle ( 481, x, y, z ) warpPedIntoVehicle ( hitPlayer, myMarker ) setElementData ( hitPlayer, "theCar", myMarker ) end end ) بس صار الماركر الاول والثاني ما تطلع سيارة ؟؟؟
-
مشكوور لكل الشباب اللي ساعدوني الحين انا سويت المود بس ابغى اسوي اكثر من ماركر هذا الكود myMarker = createMarker( 1184.3974609375, -1315.8817138672, 12.572691917419, "cylinder", 2, 150, 150, 150, 160 ) addEventHandler ( "onMarkerHit", myMarker, function ( hitPlayer ) if ( isPedInVehicle ( hitPlayer ) == false ) then theData = getElementData ( hitPlayer , "theCar" ) if ( theData ) then destroyElement ( theData ) end x, y, z = getElementPosition ( hitPlayer ) myMarker = createVehicle ( 481, x, y, z ) warpPedIntoVehicle ( hitPlayer, myMarker ) setElementData ( hitPlayer, "theCar", root ) end end ) بس انا سألت من قبل ورد علي تابل وعدلها لي وضبط بس مافهمت شنو عدل في الكود وانا ابغى اتعلم يعني ياليت واحد يعدلها ويعلمني كيف
-
والله تعقدت من كثر الكودات انا توني جديد وابغى اتعلم شوي شوي شوف myMarker = createMarker(0, 0, 2, 'cylinder', 2.0, 50, 50, 50, 150) function MarkerHit( hitPlayer) bmx = createVehicle ( 481, 0, 0, 3 + 10 ) warpPedIntoVehicle ( hitPlayer, bmx ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) هذا كودي واهو يعطيني سيارة بس يكرر السيارة حتى اذا الاعب طلع من الماركر انت عطني الامر بس اوك طيب عطني كود اذا الواحد طلع سيارة تختفي اللي قبلها يمكن تنحل المشكله واسف والله طولت عليكم
-
الاعب ياخذ مره وحده بس حتى اذا الاعب طلع من الماركر يبقى الماركر يطلع سيارات فهمت علي ؟
-
نفس المشكله عدل الكود وحطه لي كامل لاتعدل ردك لاهنت
-
myMarker = createMarker(0, 0, 2, 'cylinder', 2.0, 50, 50, 50, 150) function MarkerHit( hitPlayer, matchingDimension ) bmx = createVehicle ( 481, 0, 0, 3 + 10 ) warpPedIntoVehicle ( hitPlayer, bmx ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
-
مشكوور ي مجنون فيك بس فيه مشكله اذا طلعت السيارة تطلع معها اكثر من سيارة ابغى تطلع سيارة وحده بس
-
مكان السيارة اكتب الآي دي ولا اسم السيارة ؟
-
warpPedIntoVehicle طيب اخوي اللي بين الاقواس وش اكتب فيهم مافهمت !! warpPedIntoVehicle ( RacerPed, RaceVehicle )
-
انا غلطان في موضوع انا مسوي ماركر ابغى اذا وقفت على الماركر تطلع سيارة وسويته بس تطلع السيارة على الاعب انا ابغاه يكون راكب السيارة وآسف على الاطاله