Jump to content

K1NG

Members
  • Posts

    999
  • Joined

  • Last visited

Everything posted by K1NG

  1. سابقاً كان وضع ألوان 16بت لايعمل على نظام تشغيل ' ويندوز 8 ' لكن حالياً قاموا بإصلاحه https://code.google.com/p/mtasa-blue/source/detail?r=6432 : جرب حمل آخر نسخة من هنا وشوف - https://nightly.multitheftauto.com/?mtasa-1.3.5-latest
  2. K1NG

    Server Timeout!

    * Up!! =|
  3. https://forum.multitheftauto.com/viewtopic.php?f=160&t=69435#p647601
  4. K1NG

    Server Timeout!

    Aha, Good .. I didn't know that you've create a new value specializes in 'fastsprint' because you didn't put them in the News.
  5. K1NG

    Server Timeout!

    The 'SpeedHack' is a repeated pressure at 'Space' button to accelerate sprint.
  6. K1NG

    Server Timeout!

    LoL, That's appears at the list because i was return the old version to my server '1.3.5-rc-6121', but when i update it to '1.3.5-rc-6371' it was ruined and the 'SpeedHack' does not work and this problems appears for all players!!! ** My MTA version: 1.3.5-rc-6371
  7. كافية عشان تحقق اذا اللاعب بداخل سيارة أو لا getPedOccupiedVehicle مايحتاج تتحقق مرتين اذا اللاعب معه سيارة أو لا، وظيفة . المفروض تسوون هالتحقق هذا بجانب الكلاينت ( قبل إرسال التريقر ) عشان تخفف من اللاق أكبر قدر ممكن +
  8. K1NG

    Server Timeout!

    37.187.28.212:23023
  9. K1NG

    Server Timeout!

    Same problem and the server not appears at the list and when i join it through 'IP:Port' say: "'Error [CC23]' - Connection timed out" and I've noticed at the newest updates (i think 1.3.5-rc-6291 and up), some times the 'SpeedHack' does not work!!! * ":dumps/private": *** Empty *** * ":dumps/public": *** Empty ***
  10. K1NG

    Server Timeout!

    Sorry, but I don't use 'MTA Server.exe' because my server are hosted by hosting, So when i want to update my server i'm going to change 'core.dll, libcurl.dll, net.dll, pthreadVC2.dll, xmll.dll | dbconmy.dll, deathmatch.dll, libmysql.dll, lua5.1.dll, pcre3.dll' files only!
  11. K1NG

    Server Timeout!

    Hello MTATeam, I have a problem with the new update, when I stay on my server an error occurs and timeout the server ^ This timeout appears when i update my server version to 1.3.5-rc-6355 and up! When I install the old version the timeout not appears (i think 1.3.5-rc-6347 and down)! * Message that appears when the server timedout: "* Connection timed out." * This dumps was created when the server timed out ":dumps/private": http://upload.mtasa.com/u/222268436/private.zip_
  12. السلام عليكم ملف سيرفر addEventHandler ( 'onPlayerLogin', getRootElement ( ), function ( _,acc) local accName = getAccountName (acc) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "donators" ) ) then setElementData ( source, "grp","donators") end end ) ملف كلنت bindKey ("F1", "down", function ( ) if getElementData ( localPlayer, "grp" ) and getElementData ( localPlayer, "grp" ) == "donators" then guiSetVisible ( win, not guiGetVisible(win) ) showCursor ( not guiGetVisible(win) ) else outputChatBox ("[Donators] Sorry ur are not in Donators ", 255, 0, 0 ) end end ) الكود اذا الاعب سجل دخوله وهو بقروب donators راح يسويله الداتا لاكن اذا شغل المود مراح تفتح اللوحة وابضا اذا سجل الخروج راح تبقى الداتا يبيله تحققات كذير لو يبي يسويه مثل ماتقول انت رح يسبب لاق للسيرفر، بحيث كل مايبي يفتح اللوحة رح يسوي تريقر للسيرفر ثم تريقر للكلاينت فلنفرض لو جلس اللاعب يكرر بالفتح والإغلاق وهكذا .. رح يسبب لاق شديد بالسيرفر 'donators' ويجلب فيه اللاعبين الي بقروب onResourceStart أنا من وجهة نظري أشوف طريقته أفضل من ناحية اللاق، لكن ناقصه يسوي حدث . بحيث يحذف الداتا من اللاعب عند تسجيل خروجه onPlayerLogout بالإضافة إلى حدث / 'donators' ويعطهم الداتا حقت
  13. السلام عليكم ملف سيرفر addEventHandler ( 'onPlayerLogin', getRootElement ( ), function ( _,acc) local accName = getAccountName (acc) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "donators" ) ) then setElementData ( source, "grp","donators") end end ) ملف كلنت bindKey ("F1", "down", function ( ) if getElementData ( localPlayer, "grp" ) and getElementData ( localPlayer, "grp" ) == "donators" then guiSetVisible ( win, not guiGetVisible(win) ) showCursor ( not guiGetVisible(win) ) else outputChatBox ("[Donators] Sorry ur are not in Donators ", 255, 0, 0 ) end end ) فيه عندكـ خطأ بسيط بسطر 5 بجانب كلاينت showCursor ( not guiGetVisible(win) ) : التصحيح showCursor ( guiGetVisible ( win ) )
  14. . كودكـ ناقص --- : هذا الكود الأصلي عدلته لكـ حسب طلبكـ / مايحتاج تعدل فيه شي
  15. ؟؟؟؟؟؟؟؟؟ )= لا أبد سلامتك يا مسكين شوف Vehicles[hitElement] = createVehicle ( FCR-900, -487.29998779297, 2591, 52.700000762939 ) FCR-900 خطا رقم الاى دى بدلها وحط 514 بيصير الكود كدا Vehicles = {} VehicleM = createMarker (-487.29998779297, 2590.8000488281, 52.099998474121, "cylinder", 3, 255, 0, 0, 255 ) addEventHandler( "onMarkerHit", root, function ( hitElement ) if source == VehicleM and getElementType( hitElement ) == "player" then if Vehicles[hitElement] and getElementType( Vehicles[hitElement] ) == "vehicle" then destroyElement( Vehicles[hitElement] ) end end end ) local x,y,z = getElementPosition( hitElement ) Vehicles[hitElement] = createVehicle ( 514, -487.29998779297, 2591, 52.700000762939 ) if Vehicles[hitElement] then warpPedIntoVehicle( hitElement, Vehicles[hitElement] ) outputChatBox("#ffff00تم منحك السيارة #00ff00بنجاح", hitElement, 255, 255, 255, true ) end addEventHandler( "onVehicleExplode", root, function( ) setTimer( destroyElement, 2000, 1, source ) end ) addEventHandler( "onPlayerQuit", root, function( ) if Vehicles[source] then destroyElement( Vehicles[source] ) end end )
  16. . لابغيت تنسخ وتلصق ، إنسخ زين يابني
  17. K1NG

    MTA Crash!

    http://upload.mtasa.com/u/312306141/private.zip_
  18. Event: "onElementModelChange"
  19. This crash appears at version 1.3.5-rc-6306 and up, So if you want to get rid of this crash at this time, try this version: mtasa-1.3.5-rc-6291
  20. K1NG

    MTA Crash!

    Hello MTATeam, I have a problem .. When I join any server an error occurs and crash the game ^ This crash appears when i update my version to 1.3.5-rc-6306 and up! When I install the old version the crash not appears (1.3.5-rc-6291 and down)! * Message that appears when he crashed: Version = 1.3.5-release-6317.0.000 Time = Sat Apr 19 11:00:19 2014 Module = C:\Windows\system32\KERNELBASE.dll Code = 0xE06D7363 Offset = 0x0000812F EAX=0022EFCC EBX=0022F870 ECX=00000003 EDX=00000000 ESI=720EC164 EDI=10BD8EA8 EBP=0022F01C ESP=0022EFCC EIP=759B812F FLG=00000206 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 * DXDiag: ------------------ System Information ------------------ Time of this report: 4/19/2014, 10:58:12 Machine name: KING-PC Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130828-1532) Language: Arabic (Regional Setting: Arabic) System Manufacturer: Dell Inc. System Model: Inspiron N5110 BIOS: BIOS Date: 03/16/11 17:26:31 Ver: 04.06.04 Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz Memory: 4096MB RAM Available OS Memory: 3238MB RAM Page File: 2156MB used, 4315MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.01.7601.17514 32bit Unicode ------------ DxDiag Notes ------------ Display Tab 1: No problems found. Sound Tab 1: The file stwrt.sys is not digitally signed, which means that it has not been tested by Microsoft's Windows Hardware Quality Labs (WHQL). You may be able to get a WHQL logo'd driver from the hardware manufacturer. Input Tab: No problems found. -------------------- DirectX Debug Levels -------------------- Direct3D: 0/4 (retail) DirectDraw: 0/4 (retail) DirectInput: 0/5 (retail) DirectMusic: 0/5 (retail) DirectPlay: 0/9 (retail) DirectSound: 0/5 (retail) DirectShow: 0/6 (retail) --------------- Display Devices --------------- Card name: Intel(R) HD Graphics 3000 Manufacturer: Intel Corporation Chip type: Intel(R) HD Graphics Family DAC type: Internal Device Key: Enum\PCI\VEN_8086&DEV_0116&SUBSYS_04CA1028&REV_09 Display Memory: 1426 MB Dedicated Memory: 64 MB Shared Memory: 1362 MB Current Mode: 1366 x 768 (32 bit) (60Hz) Monitor Name: Generic PnP Monitor Monitor Model: unknown Monitor Id: LGD02DC Native Mode: 1366 x 768(p) (59.992Hz) Output Type: Internal Driver Name: igdumd32.dll,igd10umd32.dll,igd10umd32.dll Driver File Version: 9.17.0010.3347 (English) Driver Version: 9.17.10.3347 DDI Version: 10.1 Driver Model: WDDM 1.1 Driver Attributes: Final Retail Driver Date/Size: 11/7/2013 02:02:16, 11049472 bytes WHQL Logo'd: Yes WHQL Date Stamp: Device Identifier: {D7B78E66-4256-11CF-2171-C724B4C2C435} Vendor ID: 0x8086 Device ID: 0x0116 SubSys ID: 0x04CA1028 Revision ID: 0x0009 Driver Strong Name: oem45.inf:Intel.Mfg:iSNBM0:9.17.10.3347:pci\ven_8086&dev_0116 Rank Of Driver: 00DE2001 Video Accel: ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C Deinterlace Caps: {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(YV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(NV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC1,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC1,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC3,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC3,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend {BF752EF6-8CC4-457A-BE1B-08BD1CAEEE9F}: Format(In/Out)=(IMC4,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_EdgeFiltering {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC4,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY VideoProcess_AlphaBlend D3D9 Overlay: Supported DXVA-HD: Supported DDraw Status: Enabled D3D Status: Enabled AGP Status: Enabled ------------- Sound Devices ------------- Description: Speakers / Headphones (IDT High Definition Audio CODEC) Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_111D&DEV_76D1&SUBSYS_102804B0&REV_1002 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: stwrt.sys Driver Version: 6.10.6421.0000 (English) Driver Attributes: Final Retail WHQL Logo'd: No Date and Size: 1/1/2000 03:00:00, 450560 bytes Other Files: Driver Provider: IDT HW Accel Level: Basic Cap Flags: 0xF1F Min/Max Sample Rate: 100, 200000 Static/Strm HW Mix Bufs: 1, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No --------------------- Sound Capture Devices --------------------- Description: Microphone (Screaming Bee Audio) Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: ScreamingBAudio.sys Driver Version: 2.00.0003.0000 (English) Driver Attributes: Final Retail Date and Size: 7/1/2010 15:21:14, 34896 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF Description: Rec. Playback (IDT High Definition Audio CODEC) Default Sound Capture: No Default Voice Capture: No Driver Name: stwrt.sys Driver Version: 6.10.6421.0000 (English) Driver Attributes: Final Retail Date and Size: 1/1/2000 03:00:00, 450560 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF Description: Internal Mic (IDT High Definition Audio CODEC) Default Sound Capture: No Default Voice Capture: No Driver Name: stwrt.sys Driver Version: 6.10.6421.0000 (English) Driver Attributes: Final Retail Date and Size: 1/1/2000 03:00:00, 450560 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF ------------------- DirectInput Devices ------------------- Device Name: Mouse Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Keyboard Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: HID-compliant consumer control device Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0xFEEB, 0xDEEF FF Driver: n/a Poll w/ Interrupt: No ----------- USB Devices ----------- + USB Root Hub | Vendor/Product ID: 0x8086, 0x1C2D | Matching Device ID: usb\root_hub20 | Service: usbhub | Driver: usbhub.sys, 11/27/2013 04:14:25, 258560 bytes | Driver: usbd.sys, 11/27/2013 04:13:33, 6016 bytes | +-+ Generic USB Hub | | Vendor/Product ID: 0x8087, 0x0024 | | Location: Port_#0001.Hub_#0001 | | Matching Device ID: usb\class_09 | | Service: usbhub | | Driver: usbhub.sys, 11/27/2013 04:14:25, 258560 bytes ---------------- Gameport Devices ---------------- ------------ PS/2 Devices ------------ + Standard PS/2 Keyboard | Matching Device ID: *pnp0303 | Service: i8042prt | Driver: i8042prt.sys, 7/14/2009 02:11:24, 80896 bytes | Driver: kbdclass.sys, 7/14/2009 04:20:36, 42576 bytes | + Terminal Server Keyboard Driver | Matching Device ID: root\rdp_kbd | Upper Filters: kbdclass | Service: TermDD | Driver: i8042prt.sys, 7/14/2009 02:11:24, 80896 bytes | Driver: kbdclass.sys, 7/14/2009 04:20:36, 42576 bytes | + Dell Touchpad | Matching Device ID: acpi\dll04b0 | Upper Filters: ApfiltrService | Service: i8042prt | + Logitech USB WheelMouse | Vendor/Product ID: 0x046D, 0xC00C | Matching Device ID: hid\vid_046d&pid_c00c | Service: mouhid | Driver: mouhid.sys, 7/14/2009 02:45:08, 26112 bytes | Driver: mouclass.sys, 7/14/2009 04:20:44, 41552 bytes | + Terminal Server Mouse Driver | Matching Device ID: root\rdp_mou | Upper Filters: mouclass | Service: TermDD | Driver: termdd.sys, 11/20/2010 15:30:12, 53120 bytes | Driver: sermouse.sys, 7/14/2009 02:45:08, 19968 bytes | Driver: mouclass.sys, 7/14/2009 04:20:44, 41552 bytes ------------------------ Disk & DVD/CD-ROM Drives ------------------------ Drive: C: Free Space: 39.2 GB Total Space: 249.9 GB File System: NTFS
  21. عادي ماعندهـ مشكلة، لكن هو فقط نسى هالتحقق هذا localPlayer لو خلاها if ( player == localPlayer ) then . حتى يمديه يسوي الكود بدون تريقر، يعني يسوي وظيفة تحديد دم اللاعب بجانب الكلاينت ومارح يواجه مشاكل +
  22. * Server Side: abu = createColRectangle ( -590, -207, 175, 180 ) addEventHandler ( 'onPlayerWeaponSwitch', root, function ( _, curWpID ) if ( isElementWithinColShape ( source, abu ) ) then if ( getSlotFromWeapon ( curWpID ) ~= 0 ) then setPedWeaponSlot ( source, 0 ) end if ( isControlEnabled ( source, 'fire' ) ) then toggleControl ( source, 'fire', false ) end else if not ( isControlEnabled ( source, 'fire' ) ) then toggleControl ( source, 'fire', true ) end end end ) . بدل ماتتحقق كل شوي إذا اللاعب بداخل الكول شيب او لا onColShapeHit + onColShapeLeave بالإضافة إلى انه يمكنكـ إستخدام
×
×
  • Create New...