-
Posts
1,165 -
Joined
-
Last visited
-
Days Won
3
Everything posted by ALw7sH
-
اذا جيت تحتل وانتضرت يتغير لون الاحتلال؟ لانه هو شغال بس الوقت مايكمل مادري ليش
-
local pArea = createRadarArea( 2130, 630, 200, 100, 255, 255, 255, 125 ) local pArea2 = createRadarArea( 2488.8793945313, 680.78289794922, 250, 130, 255, 255, 255, 125 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 30 ) local pCuboid2 = createColCuboid( 2486.5935058594, 678.20172119141, 9.5689830780029, 245, 133, 30 ) addEventHandler("onResourceStart",resourceRoot,function() outputDebugString("Turf system by Enjoy ( manve ) |~| Has been turned on!") -- Please don't remove this =) end ) addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getElementData(p, "gang")) then if( source == pCuboid ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 5minutes.", p, 255,255,0) outputChatBox("Wait 5min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea, true ) local gangName = getElementData(p, "gang") local colors = exports.gang_system:getGangColor(gangName) local r, g, b = unpack(colors) pArea1Timer = setTimer( function() setRadarAreaColor (pArea, r, g, b, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 300000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) if isTimer( pArea1Timer ) then killTimer( pArea1Timer ) end end end ) ----------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getElementData(p, "gang")) then if( source == pCuboid2 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 5minutes.", p, 255,255,0) outputChatBox("Wait 5min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea2, true ) local gangName = getElementData(p, "gang") local colors = exports.gang_system:getGangColor(gangName) local r2, g2, b2 = unpack(colors) pArea2Timer = setTimer( function() setRadarAreaColor (pArea2, r2, g2, b2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea2, false ) end, 300000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid2 ) then setRadarAreaFlashing( pArea2, false ) if isTimer( pArea2Timer ) then killTimer( pArea2Timer ) end end end )
-
السسلام عليككم ورحمةة الله وبركاته ابي كود ماركر يفتح نافذة لتيم معين وكود اذا ظغطت على الزر تجيك سياره وكود اذا مت تروح السياره وبس
-
اققووول احمد فيف ككيف تبيه يتعلم بدوون اكواد جاهزه ضض2 يبتدي بأكواد جاهزه وتعديل مودات غير مشفره بدون حذف الحقوق وانت تعترف انكك كنت نوب واحين صرت ككفو ضض2
-
تسسلمون ولله تعتبكم معاي بس ذولي خلاص فهمتهم وفيه مشكله وحده ف المود حطيت الوقت وضليت انتضر انتضر وكمل الوقت الي مفروض تحتل فيها المنطقه ولا صار شي وضليت انتضر انتضر ممكن حل؟
-
هاذا مود حطه في اللوكال ولا سيرفرك https://community.multitheftauto.com/index.php?p= ... includes=1 وتسوي فيه الحركه بالوبجكت ولا كملت تاخد الكود وتسوي فيه المود وهاذا شرح للمود في صنع اصنصير بس نفس الطريقة بس انت غير الاوبجكت
-
اسمع ركبته صار تمام بس انتضر انتضر وتكمل 5 دقايق وتكمل 10 دقايق ولا يكمل الاحتلال اسسف على اسسئلتي الكثيره تقدر تعطيني مسن او ساكيب او شي حقك؟
-
5*60*1000 اكتبها كذا او اسوي لها عملية ضرب؟
-
تابل عندي سؤال بسيط اذا كان 600000 = عشر دقايق يعني 5 دقايق تساوي كم؟ وتسسلم مقدما
-
تسسسسلم ششككرا ياخخي كلمة ششكرا ماتكفي
-
local pArea = createRadarArea( 2130, 630, 200, 100, 255, 255, 255, 125 ) local pArea2 = createRadarArea( 2488.8793945313, 680.78289794922, 250, 130, 255, 255, 255, 125 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 30 ) local pCuboid2 = createColCuboid( 2486.5935058594, 678.20172119141, 9.5689830780029, 245, 133, 30 ) local pArea3 = createRadarArea( 1858, 623, 140, 165, 255, 255, 255, 125 ) local pCuboid3 = createColCuboid( 1856.2864990234, 627.07629394531, 9, 138.25, 152.75, 30 ) local pArea4 = createRadarArea( 1577, 663, 180, 130, 255, 255, 255, 125 ) local pCuboid4 = createColCuboid( 1576.8956298828, 662.84362792969, 9.671875, 181, 120.5, 30 ) local pArea4 = createRadarArea( 2778, 834, 110, 190, 255, 255, 255, 125 ) local pCuboid4 = createColCuboid( 2777.4248046875, 833.88018798828, 9.6484375, 113.5, 188, 30 ) addEventHandler("onResourceStart",resourceRoot,function() outputDebugString("Turf system by Enjoy ( manve ) |~| Has been turned on!") -- Please don't remove this =) end ) addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea, true ) local gangName = getElementData(player, "gang") local colors = exports.gang_system:getGangColor(gangName) local r, g, b = unpack(colors) pArea1Timer = setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) if isTimer( pArea1Timer ) then killTimer( pArea1Timer ) end end end ) ----------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid2 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea2, true ) local gangName = getElementData(player, "gang") local colors = exports.gang_system:getGangColor(gangName) local r, g, b = unpack(colors) pArea2Timer = setTimer( function() setRadarAreaColor (pArea2, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea2, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid2 ) then setRadarAreaFlashing( pArea2, false ) if isTimer( pArea2Timer ) then killTimer( pArea2Timer ) end end end ) ------------------------------------ addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid3 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea3, true ) local gangName = getElementData(player, "gang") local colors = exports.gang_system:getGangColor(gangName) local r, g, b = unpack(colors) pArea3Timer = setTimer( function() setRadarAreaColor (pArea3, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea3, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid3 ) then setRadarAreaFlashing( pArea3, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end ) ------------------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid4 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea4, true ) local gangName = getElementData(player, "gang") local colors = exports.gang_system:getGangColor(gangName) local r, g, b = unpack(colors) pArea4Timer = setTimer( function() setRadarAreaColor (pArea4, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea4, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid4 ) then setRadarAreaFlashing( pArea4, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end )
-
local iR, iG, iB = getTeamColor( pTeam ) pArea1Timer = setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); هاذا بددلته بكودك
-
اخوي تابل غيرت الاكواد بس ماتغير شي الاحتلال هاذهو لازم بتيم هاذي كل الاكواد تقدر تعدلها ؟ local pArea = createRadarArea( 2130, 630, 200, 100, 255, 255, 255, 125 ) local pArea2 = createRadarArea( 2488.8793945313, 680.78289794922, 250, 130, 255, 255, 255, 125 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 30 ) local pCuboid2 = createColCuboid( 2486.5935058594, 678.20172119141, 9.5689830780029, 245, 133, 30 ) local pArea3 = createRadarArea( 1858, 623, 140, 165, 255, 255, 255, 125 ) local pCuboid3 = createColCuboid( 1856.2864990234, 627.07629394531, 9, 138.25, 152.75, 30 ) local pArea4 = createRadarArea( 1577, 663, 180, 130, 255, 255, 255, 125 ) local pCuboid4 = createColCuboid( 1576.8956298828, 662.84362792969, 9.671875, 181, 120.5, 30 ) local pArea4 = createRadarArea( 2778, 834, 110, 190, 255, 255, 255, 125 ) local pCuboid4 = createColCuboid( 2777.4248046875, 833.88018798828, 9.6484375, 113.5, 188, 30 ) addEventHandler("onResourceStart",resourceRoot,function() outputDebugString("Turf system by Enjoy ( manve ) |~| Has been turned on!") -- Please don't remove this =) end ) addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea, true ) local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR, iG, iB = getTeamColor( pTeam ) pArea1Timer = setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) if isTimer( pArea1Timer ) then killTimer( pArea1Timer ) end end end ) ----------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid2 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea2, true ) local pTeam2 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam2 ) pArea2Timer = setTimer( function() setRadarAreaColor (pArea2, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea2, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid2 ) then setRadarAreaFlashing( pArea2, false ) if isTimer( pArea2Timer ) then killTimer( pArea2Timer ) end end end ) ------------------------------------ addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid3 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea3, true ) local pTeam3 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam3 ) pArea3Timer = setTimer( function() setRadarAreaColor (pArea3, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea3, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid3 ) then setRadarAreaFlashing( pArea3, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end ) ------------------------------------- addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid4 ) then outputChatBox("------||~ INFO ~||------", p, 0,255,0) outputChatBox("Turf owners: coming soon!", p, 255,255,0) outputChatBox("Taken time: 10minutes.", p, 255,255,0) outputChatBox("Wait 10min to take turf.", p, 255,255,0) outputChatBox("------||~ END ~||------", p, 255,0,0) setRadarAreaFlashing( pArea4, true ) local pTeam4 = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR2, iG2, iB2 = getTeamColor( pTeam4 ) pArea4Timer = setTimer( function() setRadarAreaColor (pArea4, iR2, iG2, iB2, 100); givePlayerMoney( p, 4000 ); outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea4, false ) end, 600000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid4 ) then setRadarAreaFlashing( pArea4, false ) if isTimer( pArea3Timer ) then killTimer( pArea3Timer ) end end end )
-
Marker = {} Positions = { [1] = { 296, -37, 1000.1 , 0}, [2] = { 0, 0, 0 , 1}, } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for i = 1, #Positions do Marker[i] = createMarker ( Positions[i][1], Positions[i][2], Positions[i][3]-1, "cylinder", 2, 255, 255, 0, 150 ) setElementInterior( Marker[i], Positions[i][4]) addEventHandler ( "onClientMarkerHit", Marker[i], function ( hitPlayer ) if ( hitPlayer == localPlayer ) then show ( ) showCursor ( true ) end end ) end end ) {x,y,z,Interior} x = احداثي y = احداثي z = احداثي Interior = الانتيرنور ** ماجربتة تسسلم ي ولد خششمكك ضض2 ظبط بس احين كيف اضيف ثالث ورابع وخامس الخ..
-
ابي كود اقدر اسسوي اكثر من ماركر يفتح نفس النافذة طبعا كل واحد داخل انتيريور غير يعني تبي اكثر من ماركر يفتح النافذه بـ انتيريور مختلف ؟ او نفسة ؟ يفتح نفس النافذة بس لاكن كل ماركر بيكون داخل انتيريور غير
-
ابي كود اقدر اسسوي اكثر من ماركر يفتح نفس النافذة طبعا كل واحد داخل انتيريور غير
-
اخخواني ضضروري احتاججه حتى لو كود ثاني بس المهم يفتح نافذة بأكثر من ماركر
-
اكواد الدخول والخروج ماهي بنفس الملف هاذهي "AMMUN1 (2)" posX="-2625.85" posY="208.345" posZ="3.98935" rotation="0" dimension="0" interior="0" /> "AMMUN1 (2)" posX="286.15" posY="-41.54" posZ="1000.57" rotation="5400.06" interior="1" dimension="1" /> "AMMUN2" posX="242.668" posY="-178.478" posZ="0.621441" rotation="-0.100006" dimension="0" interior="0" /> "AMMUN2" posX="285.8" posY="-85.45" posZ="1000.54" rotation="-269.903" interior="4" dimension="0" /> "AMMUN2 (2)" posX="2333.43" posY="61.5173" posZ="25.7342" rotation="0" dimension="0" interior="0" /> "AMMUN2 (2)" posX="285.8" posY="-85.45" posZ="1000.54" rotation="-90" interior="4" dimension="1" /> "AMMUN2 (3)" posX="2159.51" posY="943.329" posZ="9.82339" rotation="0" dimension="0" interior="0" /> "AMMUN2 (3)" posX="285.8" posY="-85.45" posZ="1000.54" rotation="-3870.01" interior="4" dimension="2" /> "AMMUN2 (4)" posX="2539.04" posY="2083.56" posZ="9.82222" rotation="0" dimension="0" interior="0" /> "AMMUN2 (4)" posX="285.8" posY="-85.45" posZ="1000.54" rotation="90" interior="4" dimension="3" /> "AMMUN3" posX="777.231" posY="1871.47" posZ="3.97687" rotation="-0.100006" dimension="0" interior="0" /> "AMMUN3" posX="296.92" posY="-111.97" posZ="1000.57" rotation="300.994" interior="6" dimension="3" /> "AMMUN3 (2)" posX="-315.676" posY="829.868" posZ="13.4266" rotation="0" dimension="0" interior="0" /> "AMMUN3 (2)" posX="296.92" posY="-111.97" posZ="1000.57" rotation="300.994" interior="6" dimension="4" /> "AMMUN3 (3)" posX="-2093.51" posY="-2464.79" posZ="29.6404" rotation="0" dimension="0" interior="0" /> "AMMUN3 (3)" posX="296.92" posY="-111.97" posZ="1000.57" rotation="319" interior="6" dimension="5" /> "AMMUN3 (4)" posX="2400.5" posY="-1981.48" posZ="12.5604" rotation="0" dimension="0" interior="0" /> "AMMUN3 (4)" posX="296.92" posY="-111.97" posZ="1000.57" rotation="0" interior="6" dimension="6" /> "AMMUN5" posX="-1508.89" posY="2610.8" posZ="54.8902" rotation="-0.100006" dimension="0" interior="0" /> "AMMUN5" posX="316.53" posY="-169.61" posZ="998.66" rotation="180" interior="6" dimension="0" />
-
اخوي تمام بس لاكن صار من اللمس ماركر الدخول او الخروج حق المحل بعد ينفتح لي الشوب
-
تسسلم اخوي عناد بس لاكن الماركرات مو كلهم في في انتيريور واحد
-
السسلام عليككم ورحمةة الله وبركاته من يقدر يعدل لي هاذا الكود local Marker = createMarker ( 296, -37, 1000.1, "cylinder", 2, 255, 255, 0, 150 ) setElementInterior( Marker, 1, 296, -37, 1000.1 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then show() showCursor( true ) end end ) ابي الكود يقبل اكثر من ماركر لانه يوم سويت ماركر ثاني صار الثاني يشتغل والماركر الاصلي مايشتغل
-
اخوي هاذا قيم مود حرب العصابات http://v1.arabsh.com/60zdz1qrk4jb.html
-
يقوول يبي مود التسجيل ويبي مود اختيار الشخصيه يجي بعد التسسجيل هاذا مود التسسجيل لاتنسا تضيفه الى ققروب ادمن https://community.multitheftauto.com/ind ... ls&id=4962 وهاذا مود اختيار الشخصيه https://community.multitheftauto.com/ind ... ls&id=6245
-
تسسلم اخوي تابل بس المود هاذهو الي حطيته وقلت لي هاذه او لا ف التاب يكتب Group يعني لازم اغير كلمة gabf الى Group ولا اخليها عادي؟
