Jump to content

ALw7sH

Members
  • Posts

    1,165
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ALw7sH

  1. هاذي الاكواد الي ابيها تتعدل local pTeam = getPlayerTeam( p ) local iR, iG, iB = getTeamColor( pTeam ) انا غيرت الاول وشكرا الى اخوي تابل local gangName = getElementData(player, "gang") بس لاكن الثاني الي عشان يحط لون الاحتلال كيف اخليه ياخذ على لون العصابه ماهو لون التيم
  2. عصابات = gang system يالخوي! ما نفهم من الباب للطاقة @ اطرح الكود او المود اللي تبي تعدلة ؟؟ 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 ) اخوي هاذا مود احتلال بس المود عشان تحتل لازم انت تكون في team بس لاكن انا مركب gang system (مود صنع عصابه) وابي العصابات اهي الي تحتل
  3. تسسلم اخوي تابل ظبط
  4. السسلام عليكم ورحمةة الله وبركاته اسسف على طلباتي الكثير بس السيرفر صيانه ولازم اكمل كل شي عشان اقدر افتحه ف مود الاحتلال عشان تحتل لازم تكون ف تيم local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR, iG, iB = getTeamColor( pTeam ) انا مركب مود gangs ابي الاحتلال يكون من العصابات مو من التيمات اتتمنى انكم فهمتوني
  5. لو كنت قلت لهم يسوون لك سكريت مجانا يعني أخوة ما راح تشوف ول حد يرد عليك بس عندما قلت مقابل كلهم جاو +1111111111111 امم وصصاحب الموضوع للأسف انا خبرتي بالبرمجه قليله جداً : )
  6. السسلام عليككم ورحمةة الله وبركاته ممكن احد يعدل هاذا الكود bindKey('f1','down', function() guiSetVisible(window, not guiGetVisible(window)) showCursor(not isCursorShowing()) end ) اذا قفلت النافذة السسهم ماييروحح ابيه يروحح
  7. مشكووووور تسسلم هالحلووين
  8. السسلام عليككم ورحمةة الله وبركاته عندي مشكله ماقدر اشفر اي مود في موقع mta.dzek.eu يطلع لي اذا اشفر •Error compiling LUA file - Error #127. Probably your file contains syntax errors! Fix them before uploading LUA file. مافيه طريقة غير للتشفير ؟ غير طريقة سورا لانه مافهمت لها
  9. مششكووووورين تم استوا
  10. السسلام عليككم ورحمةة الله وبركاته انا مستخدم كود الي تدخل ماركر يطلع لك شوب local Marker = createMarker ( -2033.94, 290.3, 36.08, "cylinder", 1.5, 255, 255, 0, 150 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then guiSetVisible ( shopWindow ,true ) showCursor( true ) guiSetInputEnabled(false) end بس يوم حطيته هالكود ف ملف الشوب الكلنت ماشفت طلعت ماركر
  11. مشككككككور تسسسسلم
  12. السسلام عليككم ورحمةة الله وبركاته ابي كود الشخص اذا ضربته يحلقك
  13. هاذا الكود صح عشان يكون الماركر داخل الانتيريور؟ local Marker = createMarker ( 296.28,-38.07,1000.51, "cylinder", 2, 255, 255, 0, 150 ) setElementInterior (wepMarker, 1)
  14. بس انا ابي الماركر يككون داخل الانتيريور رقم 1
  15. مششكوورين عناد + بحراني
  16. السسللامم عليككم ورحمةة الله اأإبي ككود الى ماركر يككون داخخل انتيريور وابي كود يخخلي الماركر اذذا دخخلته يفتحح لكك نافذةة النافذةة عبارةة عن ششوب انا مسسويه
  17. السسلاام عليككم ورحمةة الله ابي كود بوابة تفتح بكلمة استخدمت هاذا الكود local gate = createObject(980, -1285, -498.5, 15.89, 0, 0, 0) function open() moveObject(gate, 2000, -1285, -498.5, 15.89, 0, 0, 0 ) end addCommandHandler("افتح", open) function close() moveObject(gate, 2000, -1285, -498.5, 21.60, 0, 0, 0 ) end addCommandHandler("اغلق", close) اذا انا فتحت البوابه بس انا اشوفها فاتحه لي واقدر ادخل منها بس البقاية مايقدرون لازم كل واحد يكتب الكلمة
×
×
  • Create New...