Jump to content

AHMAD1234

Members
  • Posts

    485
  • Joined

  • Last visited

Everything posted by AHMAD1234

  1. العفو, حياك الله يالحبيب
  2. -:الخطأ كان function OpenObject1 function OpenObject2 function OpenObject3 ثاني عشان كذا تلخبط الكود function مثل اسم functionالخطأ انك كنت حاط اسم الـ -:الخطأ الثاني انك ما غيرت في if not Open1 then & Open1 = not Open1 if not Open2 then & Open2 = not Open2 if not Open3 then & Open3 = not Open3 خلاصة الموضوع الأخطاء كانت في المتغيرات كانت متشابها مع المتغيرات الثانيه -:عشان كذا تلخبط المود.. التعديل تحت Team = "Team" local Object1 = createObject ( 2930, 1565.099609375, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker1 = createMarker ( 1565.1639404297, -1637.4421386719, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject1 ( player ) if isElementWithinMarker ( player, Marker1 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open1 then moveObject ( Object1, 1500, 1563.4000244141, -1637.9000244141, -78.400001525879 ) else moveObject ( Object1, 1500, 1565.099609375, -1637.7998046875, -78.400001525879 ) end Open1 = not Open1 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject1 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject1 ) end ) local Object2 = createObject ( 2930, 1561.69921875, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker2 = createMarker ( 1561.861328125, -1637.4370117188, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject2 ( player ) if isElementWithinMarker ( player, Marker2 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open2 then moveObject ( Object2, 1500, 1560, -1637.7998046875, -78.400001525879 ) else moveObject ( Object2, 1500, 1561.69921875, -1637.7998046875, -78.400001525879 ) end Open2 = not Open2 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject2 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject2 ) end ) local Object3 = createObject ( 2930, 1558.2998046875, -1637.69921875, -78.400001525879, 0, 0, 90 ) local Marker3 = createMarker ( 1558.4349365234, -1637.3411865234, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject3 ( player ) if isElementWithinMarker ( player, Marker3 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open3 then moveObject ( Object3, 1500, 1556.5999755859, -1637.8000488281, -78.400001525879 ) else moveObject ( Object3, 1500, 1558.2998046875, -1637.69921875, -78.400001525879 ) end Open3 = not Open3 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject3 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject3 ) end ) local Object4 = createObject ( 2930, 1554.7998046875, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker4 = createMarker ( 1554.8572998047, -1637.2880859375, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject4 ( player ) if isElementWithinMarker ( player, Marker4 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open4 then moveObject ( Object4, 1500, 1553.3000488281, -1637.9000244141, -78.400001525879 ) else moveObject ( Object4, 1500, 1554.7998046875, -1637.7998046875, -78.400001525879 ) end Open4 = not Open4 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject4 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject4 ) end ) local Object5 = createObject ( 2930, 1551.5, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker5 = createMarker ( 1551.578125, -1637.4434814453, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject5 ( player ) if isElementWithinMarker ( player, Marker5 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open5 then moveObject ( Object5, 1500, 1549.8000488281, -1637.8000488281, -78.400001525879 ) else moveObject ( Object5, 1500, 1551.5, -1637.7998046875, -78.400001525879 ) end Open5 = not Open5 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject5 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject5 ) end ) local Object6 = createObject ( 2930, 1548.19921875, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker6 = createMarker ( 1558.4349365234, -1637.3411865234, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject6 ( player ) if isElementWithinMarker ( player, Marker6 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open6 then moveObject ( Object6, 1500, 1546.5999755859, -1637.9000244141, -78.400001525879 ) else moveObject ( Object6, 1500, 1548.19921875, -1637.3411865234, -78.400001525879 ) end Open6 = not Open6 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject6 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject6 ) end )
  3. اكثر من مره لانها قيمة ثابته "Team" مو ضروري تكرر القيمة Team = "Team" local Object1 = createObject ( 2930, 1565.099609375, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker1 = createMarker ( 1565.1639404297, -1637.4421386719, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject1 ( player ) if isElementWithinMarker ( player, Marker1 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open1 then moveObject ( Object1, 1500, 1563.4000244141, -1637.9000244141, -78.400001525879 ) else moveObject ( Object1, 1500, 1565.099609375, -1637.7998046875, -78.400001525879 ) end Open1 = not Open1 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject1 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject1 ) end ) local Object2 = createObject ( 2930, 1561.69921875, -1637.7998046875, -78.400001525879, 0, 0, 90 ) local Marker2 = createMarker ( 1561.861328125, -1637.4370117188, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject2 ( player ) if isElementWithinMarker ( player, Marker2 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open2 then moveObject ( Object2, 1500, 1560, -1637.7998046875, -78.400001525879 ) else moveObject ( Object2, 1500, 1561.69921875, -1637.7998046875, -78.400001525879 ) end Open2 = not Open2 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject2 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject2 ) end ) local Object3 = createObject ( 2930, 1558.2998046875, -1637.69921875, -78.400001525879, 0, 0, 90 ) local Marker3 = createMarker ( 1558.4349365234, -1637.3411865234, -80.043746948242-1, "cylinder", 2, 0, 0, 0, 0 ) function OpenObject3 ( player ) if isElementWithinMarker ( player, Marker3 ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open3 then moveObject ( Object3, 1500, 1556.5999755859, -1637.8000488281, -78.400001525879 ) else moveObject ( Object3, 1500, 1558.2998046875, -1637.69921875, -78.400001525879 ) end Open3 = not Open3 else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject3 ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject3 ) end ) update #1↑
  4. مافهمت ممكن تشرح اكثر ..هو يقصد حط كود التحقق هنا from line 923 to 974 in fr-client.lua --------------------------- -- Create vehicle window --------------------------- function createSelectedVehicle(leaf) if not leaf then leaf = getSelectedGridListLeaf(wndCreateVehicle, 'vehicles') if not leaf then return end end server.giveMeVehicles(leaf.id) end wndCreateVehicle = { 'wnd', text = 'Create vehicle', width = 300, controls = { { 'lst', id='vehicles', width=280, height=340, columns={ {text='Vehicle', attr='name'} }, rows={xml='vehicles.xml', attrs={'id', 'name'}}, onitemdoubleclick=createSelectedVehicle }, {'btn', id='create', onclick=createSelectedVehicle}, {'btn', id='close', closeswindow=true} } } function createVehicleCommand(cmd, ...) local vehID local vehiclesToCreate = {} local args = { ... } for i,v in ipairs(args) do vehID = tonumber(v) if not vehID then vehID = getVehicleModelFromName(v) end if vehID then table.insert(vehiclesToCreate, math.floor(vehID)) end end server.giveMeVehicles(vehiclesToCreate) end addCommandHandler('createvehicle', createVehicleCommand) addCommandHandler('cv', createVehicleCommand)
  5. انت تبغى البوابة تفتح لفريق معين..؟ Edit: المهم اذا كنت تقصد لفريق معين تفضل Team = "اسم الفريق" local Object = createObject ( ID, x, y, z, rx, ry, rz ) local Marker = createMarker ( -11.482395172119, 2071.0393066406, 17.4921875, "cylinder", size, 0, 0, 0, 80 ) function OpenObject ( player ) if isElementWithinMarker ( player, Marker ) then if ( getTeamName( getPlayerTeam( player ) ) == Team ) then if not Open then moveObject ( Object, 1500, moveX, moveY, moveZ ) else moveObject ( Object, 1500, x, y, z ) end Open = not Open else outputChatBox ( "* You aren't in ["..Team.."] team !", player, 200, 0, 0, true ) end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject ) end ) update↑ واذا كنت تقصد غير كذا الله اعلم
  6. تصحيح: الـ"(" الزائد سطر 2 مو 32
  7. Image Name PID Session Name Session# Mem Usage ========================= ======== ================ =========== ============ System Idle Process 0 Services 0 24 K System 4 Services 0 1,696 K smss.exe 264 Services 0 1,136 K csrss.exe 376 Services 0 4,488 K wininit.exe 452 Services 0 4,856 K csrss.exe 484 Console 1 19,664 K services.exe 528 Services 0 10,520 K lsass.exe 536 Services 0 12,128 K lsm.exe 548 Services 0 4,424 K svchost.exe 680 Services 0 9,900 K svchost.exe 768 Services 0 8,984 K atiesrxx.exe 824 Services 0 4,740 K winlogon.exe 880 Console 1 7,656 K svchost.exe 936 Services 0 18,640 K svchost.exe 976 Services 0 112,212 K svchost.exe 112 Services 0 14,940 K svchost.exe 312 Services 0 52,152 K stacsv64.exe 696 Services 0 7,664 K svchost.exe 1052 Services 0 5,580 K svchost.exe 1200 Services 0 19,384 K svchost.exe 1364 Services 0 17,476 K atieclxx.exe 1408 Console 1 6,488 K wlanext.exe 1444 Services 0 4,944 K conhost.exe 1452 Services 0 2,840 K spoolsv.exe 1552 Services 0 11,848 K armsvc.exe 1776 Services 0 3,920 K Fuel.Service.exe 1852 Services 0 5,996 K mDNSResponder.exe 1960 Services 0 5,716 K btwdins.exe 1988 Services 0 6,588 K DatamngrCoordinator.exe 988 Services 0 11,752 K HPClientServices.exe 1156 Services 0 7,696 K HPDrvMntSvc.exe 1300 Services 0 3,564 K HPWMISVC.exe 1628 Services 0 6,156 K HWDeviceService64.exe 1752 Services 0 6,156 K RtlService.exe 1864 Services 0 4,728 K RtWLan.exe 2068 Console 1 13,884 K sftvsa.exe 2192 Services 0 4,856 K svchost.exe 2284 Services 0 5,860 K 64barsvc.exe 2308 Services 0 3,168 K MonServiceUDisk.exe 2364 Services 0 4,508 K WLIDSVC.EXE 2416 Services 0 11,448 K Y2Desktop.Updater.exe 2448 Services 0 13,052 K WLIDSVCM.EXE 2500 Services 0 3,324 K sftlist.exe 2612 Services 0 13,512 K taskhost.exe 2888 Console 1 14,180 K explorer.exe 3032 Console 1 78,808 K dwm.exe 3052 Console 1 46,860 K DCSHelper.exe 3064 Console 1 6,840 K CVHSVC.EXE 2488 Services 0 10,228 K taskeng.exe 3080 Console 1 6,560 K rundll32.exe 3168 Console 1 6,584 K DriverBooster.exe 3284 Console 1 664 K taskeng.exe 3336 Console 1 6,344 K svchost.exe 3468 Services 0 5,960 K WUDFHost.exe 3528 Services 0 6,200 K SynTPEnh.exe 3672 Console 1 15,700 K sttray64.exe 3680 Console 1 17,804 K AppIntegrator64.exe 3840 Console 1 4,676 K IDMan.exe 3876 Console 1 18,712 K update_checker.exe 3908 Console 1 9,388 K WebPlayer.exe 3956 Console 1 29,864 K WebPlayer.exe 3976 Console 1 24,244 K BTTray.exe 4024 Console 1 11,300 K hpqwutils.exe 3128 Console 1 17,404 K HPMSGSVC.exe 3188 Console 1 8,460 K HPOSD.exe 2848 Console 1 10,676 K realsched.exe 3412 Console 1 824 K WmiPrvSE.exe 3888 Services 0 7,528 K SynTPHelper.exe 3220 Console 1 3,408 K svchost.exe 3540 Services 0 5,484 K jusched.exe 1308 Console 1 8,436 K 64SrchMn.exe 4112 Console 1 3,532 K 64brmon.exe 4164 Console 1 3,748 K DatamngrUI.exe 4188 Console 1 10,968 K IEMonitor.exe 4576 Console 1 6,224 K hpqWmiEx.exe 4716 Services 0 9,140 K SearchIndexer.exe 4844 Services 0 15,064 K rundll32.exe 5036 Console 1 4,876 K YCMMirage.exe 4856 Console 1 528 K App.exe 1684 Console 1 45,820 K YontooDesktop.exe 4120 Console 1 31,084 K MOM.exe 192 Console 1 6,732 K CCC.exe 3244 Console 1 8,756 K HPSA_Service.exe 5684 Services 0 16,892 K RIconMan.exe 5764 Services 0 5,656 K svchost.exe 5828 Services 0 50,352 K HPConnectionManager.exe 5940 Console 1 87,092 K hpCMSrv.exe 6024 Services 0 8,672 K PresentationFontCache.exe 2228 Services 0 20,256 K hpCaslNotification.exe 5468 Console 1 9,032 K WmiPrvSE.exe 1568 Services 0 10,120 K ielowutil.exe 2104 Console 1 528 K SeaPort.EXE 3712 Services 0 8,840 K taskeng.exe 3496 Services 0 5,812 K chrome.exe 2240 Console 1 115,404 K chrome.exe 4472 Console 1 26,396 K chrome.exe 1356 Console 1 53,788 K chrome.exe 5160 Console 1 28,388 K chrome.exe 5408 Console 1 22,044 K chrome.exe 2296 Console 1 24,656 K chrome.exe 2528 Console 1 9,640 K chrome.exe 4288 Console 1 28,240 K chrome.exe 3700 Console 1 83,348 K wuauclt.exe 1476 Console 1 6,380 K chrome.exe 7992 Console 1 98,932 K cmd.exe 3408 Console 1 3,404 K conhost.exe 7844 Console 1 6,744 K tasklist.exe 3900 Console 1 5,604 K
  8. حياك الله يالحبيب & Manster يب كفو
  9. جرب local marker = createMarker( x,y,z, "cylinder", 2, 255, 255, 0, 255 ) addEventHandler("onPlayerJoin",root,function() setElementData(source,"Hit",true) end ) addEventHandler("onMarkerHit",marker, function(player) if getElementType(player) == "player" then if ( getTeamName( getPlayerTeam( player ) ) == "اسم الفريق" ) then if ( getElementData(player,"Hit") == true ) then setElementData(player,"Hit",false) setElementPosition(player,x,y,z) outputChatBox("Welcome",player,255,0,0,true) else outputChatBox("You Can't Join To Marker",player,255,0,0,true) end end end end ) setTimer(function() for i,v in ipairs (getElementsByType("player")) do setElementData(v,"Hit",true) end end,5000,0 )
  10. لول ولا يهمك حياك الله في اي وقت يالطيب ض1
  11. جرب الكود حطه بدال الثانيه اوكي local w, h = 392,88
  12. "Kaser" اطرح كود اللوحة اللي اسمها
  13. + اللوحة مو صغيره..؟ local w, h = 386,282
  14. يب يب فهمت عليك عدلت الردود جرب مره ثانيه ورد لي خبر
  15. ما فهمت عليك ممكن توضح اكثر يعني انت تقصد ان المود شغال بس تبغى طريقة فتح ثانيه..؟ + عدلت لك الردود جرب مره ثانيه
  16. clientاوكي في البداية حمل المود وشغله بعدين حط ذا الكود في اي مكان في جانب الـ function guiAddInterpolateEffect( ... ) return call( getResourceFromName( "GIE" ), "guiAddInterpolateEffect", unpack( { ... } ) ) end استبدل نظام الفتح القديم بذا local screen = { guiGetScreenSize( ) } local w, h = 386,282 local x, y = ( screen[1] - w ) / 2, ( screen[2] - h ) / 2 function OpenWin() local cx, cy = guiGetPosition( Kaser, false ) local cw, ch = guiGetSize( Kaser, false ) if guiGetVisible ( Kaser ) then showCursor(false) guiSetInputEnabled(false) guiSetVisible ( ALCKASER, false ) guiAddInterpolateEffect( Kaser, cx, cy, cw, ch, 0, 0, 0, 0, 2,"Linear","Linear",false ) else guiAddInterpolateEffect( Kaser, 0, 0, 0, 0, x, y, w, h, 2,"Linear","Linear",true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin)
  17. استخدم ذا المود يسهل عليك الشغله تفضل الشرح [GIE]GUI Interpolate Effects | By : PaiN^
  18. function OpenWin() if guiGetVisible ( Kaser ) then guiSetVisible ( Kaser, false ) showCursor(false) guiSetInputEnabled(false) guiSetVisible ( ALCKASER, false ) else guiSetVisible ( Kaser, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) تفضل جرب ورد خبر
  19. اطرح الكود اللي يخلي اللوحة اللي تحت تسكر وحط اسم اللوحة اللي تطلع فوق
×
×
  • Create New...