Debug OnPlayerExitVehicle OnplayerGiveDamage
#1

i had a problem with my scripts, pls Help me...

Server_Logs
PHP код:

----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[13:54:51password ""  (string)
[
13:54:51
[
13:54:51Server Plugins
[13:54:51] --------------
[
13:54:51]  Loading plugincrashdetect.so
[13:54:51]   CrashDetect v4.15.1 is OK.
[
13:54:51]   Loaded.
[
13:54:51]  Loading pluginmysql_static.so
[13:54:51]  >> plugin.mysqlR38 successfully loaded.
[
13:54:51]   Loaded.
[
13:54:51]  Loading pluginEncrypt.so
[13:54:51
[
13:54:51______________________________________
[13:54:51]  Encrypt Plugin v0.1 loaded
[13:54:51______________________________________
[13:54:51]  ByFro (cCopyright <TBG2009-2010
[13:54:51______________________________________
[13:54:51]   Loaded.
[
13:54:51]  Loading pluginstreamer.so
[13:54:51
*** 
Streamer Plugin v2.8.2 by Incognito loaded ***
[
13:54:51]   Loaded.
[
13:54:51]  Loading pluginirc.so
[13:54:51
*** 
IRC Plugin v1.4.8 by Incognito loaded ***
[
13:54:51]   Loaded.
[
13:54:51]  Loading pluginCTime.so
[13:54:51]  
 
» CTime Library Plugin For Pawn v0.1.0 Copyright © 2011 RyDeR` 
 
[13:54:51]   Loaded.
[13:54:51]  Loading plugin: sscanf.so
[13:54:51] 
[13:54:51]  ===============================
[13:54:51]       sscanf plugin loaded.     
[13:54:51]          Version:  2.8.2        
[13:54:51]    © 2012 Alex "******" Cole  
[13:54:51]  ===============================
[13:54:51]   Loaded.
[13:54:51]  Loading plugin: gvar.so
[13:54:51] 
*** GVar Plugin v1.3 by Incognito loaded ***
[13:54:51]   Loaded.
[13:54:51]  Loading plugin: nativechecker.so
[13:54:51]   Loaded.
[13:54:51]  Loaded 9 plugins.
[13:54:51] 
[13:54:51] Ban list
[13:54:51] --------
[13:54:51]  Loaded: samp.ban
[13:54:51] 
[13:54:51] 
[13:54:51] Filterscripts
[13:54:51] ---------------
[13:54:51]   Loading filterscript 'ls_beachside.amx'...
[13:54:51] 
[13:54:51]   |---------------------------------------------------
[13:54:51]   |--- LS BeachSide Filterscript
[13:54:51]   |--  Script v1.03
[13:54:51]   |--  19th April 2015
[13:54:51]   |---------------------------------------------------
[13:54:51]   |--  LS BeachSide Building Elevator created
[13:54:51]   |---------------------------------------------------
[13:54:51]   Loaded 1 filterscripts.
[13:54:52] Gates loaded successfully.
[13:54:52] Dynamic Object Server Loaded...
[13:54:52] Anti-Aimbot by Dandy_Corleone sucefully loaded!
[13:54:52] 
 - - - - - - - - - - - - - - - - - - -    
[13:54:52] 
       NFS :: New Freeroam Stunt               
[13:54:52] 
  © Dandy And Miftahul Jannah - Build 30!         
[13:54:52] 
 - - - - - - - - - - - - - - - - - - - 
[13:54:52] Number of objects loaded: 49426
[13:54:52] Number of vehicles loaded: 1205
[13:54:52] Number of vehicle models: 101
[13:54:52] Number of houses loaded: 568
[13:54:54] [connection] 35.154.104.227:54533 requests connection cookie.
[13:54:54] [connection] 35.154.104.227:54534 requests connection cookie.
[13:54:55] [connection] incoming connection: 35.154.104.227:54533 id: 0
[13:54:55] [connection] incoming connection: 35.154.104.227:54534 id: 1
[13:54:56] [join] Dandy_Corleone has joined the server (0:35.154.104.227)
[13:54:56] [join] [iN]Prodigy has joined the server (1:35.154.104.227)
[13:55:15] IRC_OnConnect(1): Bot ircBot[1] has connected.
[13:55:16] IRC_OnJoinChannel(1): Bot ircBot[1] has joined #New-Freeroam-Stunt.
[13:55:16] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +ntrao-o Santa Santa NFS.
[13:55:16] IRC_OnConnect(2): Bot ircBot[2] has connected.
[13:55:17] IRC_OnJoinChannel(1): Bot ircBot[1] has joined #NFS.staff.
[13:55:17] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +ntrao-o Santa Santa NFS.
[13:55:17] IRC_OnJoinChannel(2): Bot ircBot[2] has joined #New-Freeroam-Stunt.
[13:55:18] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +o NFS.
[13:55:18] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +o NFS.
[13:55:18] IRC_OnConnect(3): Bot ircBot[3] has connected.
[13:55:18] IRC_OnJoinChannel(2): Bot ircBot[2] has joined #NFS.staff.
[13:55:19] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +o NFS-3.
[13:55:19] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +o NFS-3.
[13:55:19] IRC_OnJoinChannel(3): Bot ircBot[3] has joined #New-Freeroam-Stunt.
[13:55:19] IRC_OnJoinChannel(3): Bot ircBot[3] has joined #NFS.staff.
[13:55:19] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +o NFS-4.
[13:55:19] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +o NFS-4.
[13:55:52] [connection] 180.191.104.39:31375 requests connection cookie.
[13:55:53] [connection] incoming connection: 180.191.104.39:31375 id: 2
[13:55:57] Invalid client connecting from 180.191.104.39
[13:56:20] IRC_OnConnect(4): Bot ircBot[4] has connected.
[13:56:21] IRC_OnJoinChannel(4): Bot ircBot[4] has joined #New-Freeroam-Stunt.
[13:56:21] IRC_OnJoinChannel(4): Bot ircBot[4] has joined #NFS.staff.
[13:56:21] IRC_OnConnect(5): Bot ircBot[5] has connected.
[13:56:22] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +o NFS-5.
[13:56:22] IRC_OnJoinChannel(5): Bot ircBot[5] has joined #New-Freeroam-Stunt.
[13:56:22] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +o NFS-5.
[13:56:22] IRC_OnJoinChannel(5): Bot ircBot[5] has joined #NFS.staff.
[13:56:22] IRC_OnConnect(7): Bot ircBot[7] has connected.
[13:56:23] Kicking 180.191.104.39 because they didn't logon to the game.
[13:56:23] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +o NFS-6.
[13:56:23] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +o NFS-6.
[13:56:24] IRC_OnJoinChannel(7): Bot ircBot[7] has joined #New-Freeroam-Stunt.
[13:56:24] IRC_OnJoinChannel(7): Bot ircBot[7] has joined #NFS.staff.
[13:56:24] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #NFS.staff mode to +o NFS-7.
[13:56:24] IRC_OnUserSetChannelMode(1): Santa(Clause@I.Live.At.The.North.Pole) changed channel #New-Freeroam-Stunt mode to +o NFS-7.
[13:56:52] [connection] 180.191.104.39:31394 requests connection cookie.
[13:56:55] [connection] incoming connection: 180.191.104.39:31394 id: 2
[13:56:57] [join] AW123[Gtx] has joined the server (2:180.191.104.39)
[16:31:54] [join] HAIRO has joined the server (3:223.255.228.85)
[16:32:06] [connection] 223.255.228.85:50872 requests connection cookie.
[16:32:06] [connection] incoming connection: 223.255.228.85:50872 id: 4
[16:32:07] [join] DANDYPRASETYO has joined the server (4:223.255.228.85)
[16:32:28] [debug] Run time error 4: "Array index out of bounds"
[16:32:28] [debug]  Accessing element at index 2000 past array upper bound 1599
[16:32:28] [debug] AMX backtrace:
[16:32:37] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2181) from NFSbener.amx
[16:32:37] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2501) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 528 past array upper bound 420
[16:32:47] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 426, 0, 1786248, 327680) from NFSbener.amx
[16:32:47] [debug] Run time error 4: "Array index out of bounds"
[16:32:47] [debug]  Accessing element at index 2400 past array upper bound 1599
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 528, 0, 2769570, 589824) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 2502 past array upper bound 1599
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2502) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 529 past array upper bound 420
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 529, 0, 2114088, 393216) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 2503 past array upper bound 1599
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2503) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 530 past array upper bound 420
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 530, 0, 1196740, 589824) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 2504 past array upper bound 1599
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2504) from NFSbener.amx
[16:32:51] [debug] Run time error 4: "Array index out of bounds"
[16:32:51] [debug]  Accessing element at index 531 past array upper bound 420
[16:32:51] [debug] AMX backtrace:
[16:32:51] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 531, 0, 2507328, 393216) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2505 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2505) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 532 past array upper bound 420
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 532, 0, 1393326, 458752) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2506 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2506) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 533 past array upper bound 420
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 533, 0, 2376356, 196608) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2507 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2507) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 534 past array upper bound 420
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 534, 0, 2179764, 262144) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2508 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2508) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2509 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2509) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 536 past array upper bound 420
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 536, 0, 2507424, 262144) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2510 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2510) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 537 past array upper bound 420
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 537, 0, 2769400, 196608) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2511 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2511) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2512 past array upper bound 1599
[16:32:52] [debug] AMX backtrace:
[16:32:52] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2512) from NFSbener.amx
[16:32:52] [debug] Run time error 4: "Array index out of bounds"
[16:32:52] [debug]  Accessing element at index 2513 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2740) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2741 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2741) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2742 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2742) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 769 past array upper bound 420
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 769, 0, 279136, 589824) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2743 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2743) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2744 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2744) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 771 past array upper bound 420
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 771, 0, 934508, 393216) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2745 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2745) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2746 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2746) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2747 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2747) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 774 past array upper bound 420
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 774, 0, 2507418, 393216) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2748 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2748) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2749 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2749) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 776 past array upper bound 420
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 0075a928 in public OnPlayerGiveDamage (0, 776, 0, 1261960, 458752) from NFSbener.amx
[16:33:01] [debug] Run time error 4: "Array index out of bounds"
[16:33:01] [debug]  Accessing element at index 2750 past array upper bound 1599
[16:33:01] [debug] AMX backtrace:
[16:33:01] [debug] #0 00754930 in public OnPlayerExitVehicle (0, 2750) from NFSbener.amx
[16:33:01] Player slot (0) is taken. Kicking 223.255.228.85:50867.
[16:33:01] [part] KOMING_8645 has left the server (0:2)
[16:33:01] Invalid client connecting from 223.255.228.85
[16:33:01] Invalid client connecting from 223.255.228.85
[16:33:01] Invalid client connecting from 223.255.228.85
[16:33:06] [connection] 223.255.228.85:50873 requests connection cookie.
[16:33:07] [connection] incoming connection: 223.255.228.85:50873 id: 5
[16:33:17] [CMD]: [iW]Nathan(6) has used the command '/bank'
[16:33:20] [CMD]: [iW]Nathan(6) has used the command '/nrg'
[16:33:20] [part] SERVER_JELEK has left the server (1:0)
[16:33:20] [part] SERVER_KONTOL has left the server (2:0)
[16:33:20] [part] HAIRO has left the server (3:0)
[16:33:20] [part] DANDYPRASETYO has left the server (4:0)
[16:33:59] [connection] 223.255.228.85:50875 requests connection cookie.
[16:33:59] [connection] 223.255.228.85:50875 requests connection cookie.
[16:34:00] [connection] 223.255.228.85:50875 requests connection cookie.
[16:34:03] [connection] incoming connection: 223.255.228.85:50878 id: 1
[16:34:04] [join] NERAKA has joined the server (1:223.255.228.85)
[16:34:13] [OnDialogResponse]: NERAKA(1) has used dialog id: 4 Listitem: -1
[16:34:15] [OnDialogResponse]: NERAKA(1) has used dialog id: 17 Listitem: -1
[16:34:44] [CMD]: [iW]Nathan(6) has used the command '/bank'
[16:34:49] [CMD]: [iW]Nathan(6) has used the command '/nrg'
[16:35:18] [CMD]: [iW]Nathan(6) has used the command '/bank'
[16:35:20] [CMD]: [iW]Nathan(6) has used the command '/nrg'
[16:35:49] [CMD]: [iW]Nathan(6) has used the command '/bank'
[16:36:06] [connection] 36.76.150.76:49785 requests connection cookie.
[16:36:07] [connection] incoming connection: 36.76.150.76:49785 id: 0
[16:36:08] [join] [LS]Kings has joined the server (0:36.76.150.76)
[16:36:14] [CMD]: [iW]Nathan(6) has used the command '/answer 86'
[16:36:28] [CMD]: [iW]Nathan(6) has used the command '/answer 30'
[16:36:34] [CMD]: [iW]Nathan(6) has used the command '/answer 90'
[16:36:41] [CMD]: [iW]Nathan(6) has used the command '/cj'
[16:36:42] [CMD]: [iW]Nathan(6) has used the command '/sf'
[16:36:48] [CMD]: [iW]Nathan(6) has used the command '/v'
[16:36:51] [CMD]: [LS]Kings(0) has used the command '/GOD'
[16:36:52] [OnDialogResponse]: [iW]Nathan(6) has used dialog id: 3434 Listitem: 4
[16:36:53] [chat] [[LS]Kings]: .LS
[16:36:55] [CMD]: [LS]Kings(0) has used the command '/ls'
[16:37:01] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 22 Listitem: 0
[16:37:03] [CMD]: [LS]Kings(0) has used the command '/goto 1'
[16:37:04] [CMD]: NERAKA(1) has used the command '/LS'
[16:37:07] [CMD]: [LS]Kings(0) has used the command '/goto 1'
[16:37:08] [CMD]: [iW]Nathan(6) has used the command '/sf'
[16:37:11] [CMD]: [LS]Kings(0) has used the command '/god'
[16:37:22] [CMD]: [iW]Nathan(6) has used the command '/sf'
[16:37:25] [CMD]: [iW]Nathan(6) has used the command '/eve'
[16:37:25] [part] NERAKA has left the server (1:0)
[16:37:28] [CMD]: [iW]Nathan(6) has used the command '/event'
[16:37:30] [CMD]: [LS]Kings(0) has used the command '/goto 2'
[16:37:30] [OnDialogResponse]: [iW]Nathan(6) has used dialog id: 6378 Listitem: 1
[16:37:33] [CMD]: [LS]Kings(0) has used the command '/goto 3'
[16:37:34] [OnDialogResponse]: [iW]Nathan(6) has used dialog id: 6382 Listitem: 10
[16:37:36] [OnDialogResponse]: [iW]Nathan(6) has used dialog id: 6383 Listitem: -1
[16:37:36] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 6383 Listitem: -1
[16:37:37] [connection] 223.255.228.85:50880 requests connection cookie.
[16:37:37] [connection] 223.255.228.85:50880 requests connection cookie.
[16:37:37] [connection] 223.255.228.85:50880 requests connection cookie.
[16:37:38] [connection] incoming connection: 223.255.228.85:50880 id: 1
[16:37:41] [join] NERAKA has joined the server (1:223.255.228.85)
[16:37:42] [CMD]: [LS]Kings(0) has used the command '/goto 6'
[16:37:47] [CMD]: [LS]Kings(0) has used the command '/goto 10'
[16:37:50] RaceRotation: LoadRace(CrazyTaxi) successful
[16:37:51] [chat] [[iW]Nathan]: mrONpa
[16:37:54] [chat] [[iW]Nathan]: mrONpa
[16:37:56] [CMD]: [LS]Kings(0) has used the command '/god'
[16:38:01] [chat] [[iW]Nathan]: mrONp2a
[16:38:04] [CMD]: NERAKA(1) has used the command '/LS'
[16:38:11] [part] [iW]Nathan has left the server (6:1)
[16:38:19] [CMD]: [LS]Kings(0) has used the command '/goto 10'
[16:38:26] [CMD]: [LS]Kings(0) has used the command '/goto 1'
[16:38:29] [CMD]: [LS]Kings(0) has used the command '/goto 1'
[16:38:34] [CMD]: [LS]Kings(0) has used the command '/goto 1'
[16:38:38] [CMD]: [LS]Kings(0) has used the command '/god'
[16:38:51] [part] NERAKA has left the server (1:0)
[16:38:58] [CMD]: [LS]Kings(0) has used the command '/votekick 1'
[16:39:01] [connection] 223.255.228.85:50881 requests connection cookie.
[16:39:01] [connection] incoming connection: 223.255.228.85:50881 id: 1
[16:39:03] [join] NERAKA has joined the server (1:223.255.228.85)
[16:39:06] [CMD]: [LS]Kings(0) has used the command '/goto 10'
[16:39:19] [CMD]: [LS]Kings(0) has used the command '/god'
[16:39:33] [connection] 223.255.228.85:50882 requests connection cookie.
[16:39:33] [connection] incoming connection: 223.255.228.85:50882 id: 2
[16:39:34] [join] ADMIN_KONTOL has joined the server (2:223.255.228.85)
[16:39:40] [connection] 223.255.228.85:50883 requests connection cookie.
[16:39:40] [connection] incoming connection: 223.255.228.85:50883 id: 3
[16:39:41] [join] ADMIN_JANCUK has joined the server (3:223.255.228.85)
[16:39:43] [CMD]: [LS]Kings(0) has used the command '/ls'
[16:39:46] [connection] 223.255.228.85:50884 requests connection cookie.
[16:39:46] [connection] incoming connection: 223.255.228.85:50884 id: 4
[16:39:47] [join] ADMIN_PEPEK has joined the server (4:223.255.228.85)
[16:39:52] [connection] 223.255.228.85:50885 requests connection cookie.
[16:39:52] [connection] incoming connection: 223.255.228.85:50885 id: 5
[16:39:53] [join] ADMIN_LOLOK has joined the server (5:223.255.228.85)
[16:39:59] [connection] 223.255.228.85:50886 requests connection cookie.
[16:39:59] [connection] incoming connection: 223.255.228.85:50886 id: 6
[16:40:00] [join] ADMIN_NGEMIS has joined the server (6:223.255.228.85)
[16:40:16] [connection] 223.255.228.85:50887 requests connection cookie.
[16:40:16] [connection] incoming connection: 223.255.228.85:50887 id: 7
[16:40:17] [join] SERVER_JELEK has joined the server (7:223.255.228.85)
[16:40:19] [CMD]: [LS]Kings(0) has used the command '/cmds'
[16:40:21] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 222 Listitem: 2
[16:40:30] [connection] 223.255.228.85:50888 requests connection cookie.
[16:40:30] [connection] incoming connection: 223.255.228.85:50888 id: 8
[16:40:31] [join] VENOMGAMING_TOP has joined the server (8:223.255.228.85)
[16:40:34] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 17 Listitem: -1
[16:40:34] [CMD]: [LS]Kings(0) has used the command '/cmds'
[16:40:36] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 222 Listitem: 3
[16:40:37] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 17 Listitem: -1
[16:40:37] [connection] 223.255.228.85:50889 requests connection cookie.
[16:40:38] [connection] incoming connection: 223.255.228.85:50889 id: 9
[16:40:38] [CMD]: [LS]Kings(0) has used the command '/cmds'
[16:40:38] [OnDialogResponse]: [LS]Kings(0) has used dialog id: 222 Listitem: 0
[16:40:39] [join] VENOMGAMING_LLP has joined the server (9:223.255.228.85)
[16:40:45] [CMD]: [LS]Kings(0) has used the command '/goto 7'
[16:40:49] [CMD]: [LS]Kings(0) has used the command '/goto 4'
[16:40:50] [CMD]: [LS]Kings(0) has used the command '/goto 3'
[16:40:52] [CMD]: [LS]Kings(0) has used the command '/goto 1'
[16:40:54] [connection] 223.255.228.85:50890 requests connection cookie.
[16:40:55] [connection] incoming connection: 223.255.228.85:50890 id: 11
[16:40:56] [join] KINGS_JELEK has joined the server (11:223.255.228.85)
[16:40:58] [CMD]: [LS]Kings(0) has used the command '/god'
[16:41:02] [kill] [LS]Kings killed NERAKA MP5
[16:41:22] [connection] 103.47.133.101:28650 requests connection cookie.
[16:41:23] [connection] incoming connection: 103.47.133.101:28650 id: 12
[16:41:24] [join] Proembe has joined the server (12:103.47.133.101)
[16:41:27] [chat] [NERAKA]: AK BILANG LO
[16:48:24] [OnDialogResponse]: wkkal[l(13) has used dialog id: 8777 Listitem: 5
[16:48:27] [OnDialogResponse]: wkkal[l(13) has used dialog id: 8783 Listitem: 4
[16:48:37] [OnDialogResponse]: wkkal[l(13) has used dialog id: 8777 Listitem: 0
[16:48:39] [OnDialogResponse]: LOPIJ(3) has used dialog id: 4 Listitem: -1
[16:48:39] [debug] Run time error 4: "Array index out of bounds"
[16:48:39] [debug]  Accessing element at index 2196 past array upper bound 1599
[16:48:39] [debug] AMX backtrace:
[16:48:39] [debug] #0 00754930 in public OnPlayerExitVehicle (1, 2196) from NFSbener.amx
[16:48:40] [OnDialogResponse]: wkkal[l(13) has used dialog id: 8778 Listitem: 1
[16:48:40] [OnDialogResponse]: LOPIJ(3) has used dialog id: 17 Listitem: -1
[16:48:44] RaceRotation: LoadRace(QuadRace) successful 
OnPlayerExitVehicle
PHP код:
public OnPlayerExitVehicle(playeridvehicleid)
{
    
CarLocked[vehicleid] = false;
    foreach(
Playerii)
    {
       
SetVehicleParamsForPlayer(vehicleidii00);
     }
    
SetPVarInt(playerid"OnBike"0);
    if(
IsBikeModel(GetVehicleModel(vehicleid))) if(GetPVarInt(playerid"HelmetDisabled") == 0RemovePlayerAttachedObject(playerid1);
    
    if(
GetPVarInt(playerid"Pizza") > 0)
    {
        
canUseKey[playerid] = true;
        
PizzaJob[playerid] = 0;
        
InJob[playerid] = 0;
        
DeletePVar(playerid"Pizza");
        
SendClientMessage(playeridCOLOR_RED"*[JOB] You have left your job Pizza, you won't be payed.");
        
DisablePlayerCheckpoint(playerid);
        
JobClothes[playerid] = 0;
          
pJob[playerid] = 0;
          
DeletePVar(playerid"JClothes");
          
SetPlayerVirtualWorld(playerid0);
    }
    else if(
GetPVarInt(playerid"Hotdog") > 0)
    {
        
canUseKey[playerid] = true;
        
HotdogJob[playerid] = 0;
        
InJob[playerid] = 0;
        
DeletePVar(playerid"Hotdog");
        
SendClientMessage(playeridCOLOR_RED"*[JOB] You have left your job Hotdog Food, you won't be payed.");
        
DisablePlayerCheckpoint(playerid);
        
JobClothes[playerid] = 0;
          
pJob[playerid] = 0;
          
DeletePVar(playerid"JClothes");
          
SetPlayerVirtualWorld(playerid0);
    }
    else if(
GetPVarInt(playerid"Fireman") > 0)
    {
        
canUseKey[playerid] = true;
        
FiremanJob[playerid] = 0;
        
InJob[playerid] = 0;
        
DeletePVar(playerid"Fireman");
        
SendClientMessage(playeridCOLOR_RED"*[JOB] You have left your Fireman Job, you won't be payed.");
        
DisablePlayerCheckpoint(playerid);
        
JobClothes[playerid] = 0;
          
pJob[playerid] = 0;
          
DeletePVar(playerid"JClothes");
          
SetPlayerVirtualWorld(playerid0);
    }

OnPlayerGiveDamage
PHP код:

//aimbot
Float:DistanceCameraTargetToLocation(Float:CamXFloat:CamYFloat:CamZFloat:ObjXFloat:ObjYFloat:ObjZFloat:FrXFloat:FrYFloat:FrZ)
{
        new 
Float:TGTDistance;
        
TGTDistance floatsqroot((CamX ObjX) * (CamX ObjX) + (CamY ObjY) * (CamY ObjY) + (CamZ ObjZ) * (CamZ ObjZ));
        new 
Float:tmpXFloat:tmpYFloat:tmpZ;
        
tmpX FrX TGTDistance CamX;
        
tmpY FrY TGTDistance CamY;
        
tmpZ FrZ TGTDistance CamZ;
        return 
floatsqroot((tmpX ObjX) * (tmpX ObjX) + (tmpY ObjY) * (tmpY ObjY) + (tmpZ ObjZ) * (tmpZ ObjZ));
}
public 
OnPlayerGiveDamage(playeriddamagedidFloat:amountweaponidbodypart)
{
    if(
playerid != INVALID_PLAYER_ID && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && pSpawned[damagedid] == 1)
    {
        if(
GOD[damagedid] == && canUseKey[damagedid] == true)
        {
            
GameTextForPlayer(playerid"~b~~h~~h~Player has GOD enabled"20003);
            
GetPlayerArmour(damagedidA);
            if(
0)
            {
                if(
pPremium[damagedid] == 3SetPlayerArmour(damagedid97);
                else 
SetPlayerArmour(damagedid50);
            }
        }
        if(!
PlayerHit[damagedid] && InEvent[damagedid] == 0)
        {
            
PlayerHit[damagedid] = true;
            
SetPlayerAttachedObject(damagedid81240,2,0.440999,0.000000,0.023000,-1.799999,84.099983,0.000000,1.000000,1.000000,1.000000);
            
SetTimerEx("RemoveHealth"800false"i"damagedid);
        }
    }
      return 
true;
}
public 
OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
    switch(
hittype)
    {
        case 
0:
        {
            if( !( -
1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) ) // a valid offset, it's impossible that a offset bigger than 1000 is legit (also less than -1000.0 is impossible, not used by this hack, but still, let's check for it, just for the future, who knows what hacks will appear). The object with biggest offset is having ~700-800 radius.
            
{
                return 
0// let's desynchronize that bullet, so players won't crash
            
}
        }
        case 
2:
        {
            if(
InDM[playerid] == 13)
            {
                if(
hitid != INVALID_VEHICLE_ID)
                {
                    foreach(
Playeri)
                    {
                          if(
GetPlayerVehicleID(i) == hitid && GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerTeam(i) == GetPlayerTeam(playerid))
                         {
                            
GameTextForPlayer(playerid"~r~Don't shoot teammates vehicle~w~!"25005);
                             return 
0;
                         }
                       }
                }
            }
        }
    }
    
        
//aimbot
    
switch(weaponid){ case 0..1839..54: return 1;}//invalid weapons
        
if(hittype == BULLET_HIT_TYPE_PLAYER && IsPlayerConnected(hitid) && !IsPlayerNPC(hitid))
        {
                new 
Float:Shot[3], Float:Hit[3];
                
GetPlayerLastShotVectors(playeridShot[0], Shot[1], Shot[2], Hit[0], Hit[1], Hit[2]);
                new 
playersurf GetPlayerSurfingVehicleID(playerid);
                new 
hitsurf GetPlayerSurfingVehicleID(hitid);
                new 
Float:targetpackets NetStats_PacketLossPercent(hitid);
                new 
Float:playerpackets NetStats_PacketLossPercent(playerid);
                if(~(
playersurf) && ~(hitsurf) && !IsPlayerInAnyVehicle(playerid) && !IsPlayerInAnyVehicle(hitid))
                {
                        if(!
IsPlayerAimingAtPlayer(playeridhitid) && !IsPlayerInRangeOfPoint(hitid5.0Hit[0], Hit[1], Hit[2]))
                        {
                                new 
string[128], issuer[24];
                                
GetPlayerName(playeridissuer24);
                                
AimbotWarnings[playerid] ++;
                                
format(stringsizeof(string), ""GREY_E"Anti-Cheat: "RED_E"Player %s warning of Aimbot or Lagging(Check Ping) [Target PL: %f | Shooter PL:%f]!"issuertargetpacketsplayerpackets);
                                for(new 
pMAX_PLAYERS;p++)
                                    if(
IsPlayerConnected(p) && IsPlayerAdmin(p))
                                         
SendClientMessage(p, -1string);
                                if(
AimbotWarnings[playerid] > 10)
                                {
                                        if(
targetpackets 1.2 && playerpackets 1.2) return Kick(playerid);
                                        else
                                        {
                                                
//format(string, sizeof(string), ""GREY_E"Anti-Cheat: "RED_E"Player %s is probably using Aimbot [Target PL: %f | Shooter PL:%f]!", issuer, targetpackets, playerpackets);
                                                //for(new p; p < MAX_PLAYERS;p++) if(IsPlayerConnected(p) && IsPlayerAdmin(p)) SendClientMessage(p, -1, string);
                                                
                                                
format(stringsizeof(string), ""GREY_E"Anti-Cheat: "RED_E"Player %s is probably using Aimbot [Target PL: %f | Shooter PL:%f]!"issuertargetpacketsplayerpackets);
                                                for(new 
pMAX_PLAYERS;p++) if(IsPlayerConnected(p)) SendClientMessage(p, -1string);
                                                
format(stringsizeof(string), ""GREY_E"Anti-Cheat: "RED_E"Player %s is probably using Aimbot [Target PL: %f | Shooter PL:%f]!"issuertargetpacketsplayerpackets);
                                                
SendClientMessageToAll(COLOR_REDstring);
                                        }
                                }
                                return 
0;
                        }
                        else return 
1;
                }
                else return 
1;
        }
        return 
1;

Reply
#2

Recompile your script with -d3 flag to get more details about what causing that runtime errors, run the server. And post the crash log here.
Reply
#3

can u give me Link for -d3 flag plugins?
Reply
#4

https://github.com/Zeex/samp-plugin-...ith-debug-info
Reply
#5

By reading code and logs it is clear that in case of OnPlayerExitVehicle this error is caused by CarLocked[vehicleid]
In this the vehicleid is bigger than CarLocked array size. Re-define this variable to make its size 3000. Though max vehicle limit 2000 I dont know why the call back is being called with bigger ids(it can be seen the log).

Now for OnPlayerGiveDamage part, the damageid being passed is bigger than MAX_PLAYERS defined. It has been told in sa-mp wiki that this function is inaccurate so to prevent this bug just put a check at top on OnPlayerGiveDamage like this:

PHP код:
if(!IsPlayerConnected(playerid) || !IsPlayerConnected(damageid))return 1
Put this line at top of OnPlayerGiveDamage callback
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)