Am getting this in my Log , Please read
#1

Please tell me what line to show & i will post it




PHP код:
[01:40:41] [debugAMX backtrace:
[
01:40:41] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:41] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:42] [debugRun time error 4"Array index out of bounds"
[01:40:42] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:42] [debugAMX backtrace:
[
01:40:42] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:42] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:42] [debugRun time error 4"Array index out of bounds"
[01:40:42] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:42] [debugAMX backtrace:
[
01:40:42] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:42] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:43] [debugRun time error 4"Array index out of bounds"
[01:40:43] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:43] [debugAMX backtrace:
[
01:40:43] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:43] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:43] [debugRun time error 4"Array index out of bounds"
[01:40:43] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:43] [debugAMX backtrace:
[
01:40:43] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:43] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:44] [debugRun time error 4"Array index out of bounds"
[01:40:44] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:44] [debugAMX backtrace:
[
01:40:44] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:44] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:45] [debugRun time error 4"Array index out of bounds"
[01:40:45] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:45] [debugAMX backtrace:
[
01:40:45] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:45] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:45] [debugRun time error 4"Array index out of bounds"
[01:40:45] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:45] [debugAMX backtrace:
[
01:40:45] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:45] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:46] [debugRun time error 4"Array index out of bounds"
[01:40:46] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:46] [debugAMX backtrace:
[
01:40:46] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:46] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:46] [debugRun time error 4"Array index out of bounds"
[01:40:46] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:46] [debugAMX backtrace:
[
01:40:46] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:46] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:47] [debugRun time error 4"Array index out of bounds"
[01:40:47] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:47] [debugAMX backtrace:
[
01:40:47] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:47] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:48] [debugRun time error 4"Array index out of bounds"
[01:40:48] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:48] [debugAMX backtrace:
[
01:40:48] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:48] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:48] [debugRun time error 4"Array index out of bounds"
[01:40:48] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:48] [debugAMX backtrace:
[
01:40:48] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:48] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:49] [debugRun time error 4"Array index out of bounds"
[01:40:49] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:49] [debugAMX backtrace:
[
01:40:49] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:49] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:49] [debugRun time error 4"Array index out of bounds"
[01:40:49] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:49] [debugAMX backtrace:
[
01:40:49] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:49] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:50] [debugRun time error 4"Array index out of bounds"
[01:40:50] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:50] [debugAMX backtrace:
[
01:40:50] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:50] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:50] [debugRun time error 4"Array index out of bounds"
[01:40:50] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:50] [debugAMX backtrace:
[
01:40:50] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:50] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:51] [debugRun time error 4"Array index out of bounds"
[01:40:51] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:51] [debugAMX backtrace:
[
01:40:51] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:51] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:51] [debugRun time error 4"Array index out of bounds"
[01:40:51] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:51] [debugAMX backtrace:
[
01:40:51] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:51] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:52] [debugRun time error 4"Array index out of bounds"
[01:40:52] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:52] [debugAMX backtrace:
[
01:40:52] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:52] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:52] [debugRun time error 4"Array index out of bounds"
[01:40:52] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:52] [debugAMX backtrace:
[
01:40:52] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:52] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:53] [debugRun time error 4"Array index out of bounds"
[01:40:53] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:53] [debugAMX backtrace:
[
01:40:53] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:53] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:54] [debugRun time error 4"Array index out of bounds"
[01:40:54] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:54] [debugAMX backtrace:
[
01:40:54] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:54] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:54] [debugRun time error 4"Array index out of bounds"
[01:40:54] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:54] [debugAMX backtrace:
[
01:40:54] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:54] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:55] [debugRun time error 4"Array index out of bounds"
[01:40:55] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:55] [debugAMX backtrace:
[
01:40:55] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:55] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:55] [debugRun time error 4"Array index out of bounds"
[01:40:55] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:55] [debugAMX backtrace:
[
01:40:55] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:55] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:56] [debugRun time error 4"Array index out of bounds"
[01:40:56] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:56] [debugAMX backtrace:
[
01:40:56] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:56] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:57] [debugRun time error 4"Array index out of bounds"
[01:40:57] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:57] [debugAMX backtrace:
[
01:40:57] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:57] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:57] [debugRun time error 4"Array index out of bounds"
[01:40:57] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:57] [debugAMX backtrace:
[
01:40:57] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:57] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:58] [debugRun time error 4"Array index out of bounds"
[01:40:58] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:58] [debugAMX backtrace:
[
01:40:58] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:58] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:58] [debugRun time error 4"Array index out of bounds"
[01:40:58] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:58] [debugAMX backtrace:
[
01:40:58] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:58] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:59] [debugRun time error 4"Array index out of bounds"
[01:40:59] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:59] [debugAMX backtrace:
[
01:40:59] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:59] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:40:59] [debugRun time error 4"Array index out of bounds"
[01:40:59] [debug]  Accessing element at index 12 past array upper bound 11
[01:40:59] [debugAMX backtrace:
[
01:40:59] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:40:59] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:00] [debugRun time error 4"Array index out of bounds"
[01:41:00] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:00] [debugAMX backtrace:
[
01:41:00] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:00] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:00] [debugRun time error 4"Array index out of bounds"
[01:41:00] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:00] [debugAMX backtrace:
[
01:41:00] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:00] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:01] [debugRun time error 4"Array index out of bounds"
[01:41:01] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:01] [debugAMX backtrace:
[
01:41:01] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:01] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:01] [debugRun time error 4"Array index out of bounds"
[01:41:01] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:01] [debugAMX backtrace:
[
01:41:01] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:01] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:02] [debugRun time error 4"Array index out of bounds"
[01:41:02] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:02] [debugAMX backtrace:
[
01:41:02] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:02] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:03] [debugRun time error 4"Array index out of bounds"
[01:41:03] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:03] [debugAMX backtrace:
[
01:41:03] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:03] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:03] [debugRun time error 4"Array index out of bounds"
[01:41:03] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:03] [debugAMX backtrace:
[
01:41:03] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:03] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:04] [debugRun time error 4"Array index out of bounds"
[01:41:04] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:04] [debugAMX backtrace:
[
01:41:04] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:04] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:04] [debugRun time error 4"Array index out of bounds"
[01:41:04] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:04] [debugAMX backtrace:
[
01:41:04] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:04] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:05] [debugRun time error 4"Array index out of bounds"
[01:41:05] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:05] [debugAMX backtrace:
[
01:41:05] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:05] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:06] [debugRun time error 4"Array index out of bounds"
[01:41:06] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:06] [debugAMX backtrace:
[
01:41:06] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:06] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:06] [debugRun time error 4"Array index out of bounds"
[01:41:06] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:06] [debugAMX backtrace:
[
01:41:06] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:06] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:07] [debugRun time error 4"Array index out of bounds"
[01:41:07] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:07] [debugAMX backtrace:
[
01:41:07] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:07] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:07] [debugRun time error 4"Array index out of bounds"
[01:41:07] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:07] [debugAMX backtrace:
[
01:41:07] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:07] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:08] [debugRun time error 4"Array index out of bounds"
[01:41:08] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:08] [debugAMX backtrace:
[
01:41:08] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:08] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:08] [debugRun time error 4"Array index out of bounds"
[01:41:08] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:08] [debugAMX backtrace:
[
01:41:08] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:08] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:09] [debugRun time error 4"Array index out of bounds"
[01:41:09] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:09] [debugAMX backtrace:
[
01:41:09] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:09] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:09] [debugRun time error 4"Array index out of bounds"
[01:41:09] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:09] [debugAMX backtrace:
[
01:41:09] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:09] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:10] [debugRun time error 4"Array index out of bounds"
[01:41:10] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:10] [debugAMX backtrace:
[
01:41:10] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:10] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:10] [debugRun time error 4"Array index out of bounds"
[01:41:10] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:10] [debugAMX backtrace:
[
01:41:10] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:10] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:11] [debugRun time error 4"Array index out of bounds"
[01:41:11] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:11] [debugAMX backtrace:
[
01:41:11] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:11] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:12] [debugRun time error 4"Array index out of bounds"
[01:41:12] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:12] [debugAMX backtrace:
[
01:41:12] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:12] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:13] [debugRun time error 4"Array index out of bounds"
[01:41:13] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:13] [debugAMX backtrace:
[
01:41:13] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:13] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=1) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613
[01:41:13] [debugRun time error 4"Array index out of bounds"
[01:41:13] [debug]  Accessing element at index 12 past array upper bound 11
[01:41:13] [debugAMX backtrace:
[
01:41:13] [debug#0 0074c7c4 in ServerHeartbeatTwo (playerid=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127623
[01:41:13] [debug#1 0074c580 in public ServerHeartbeatTwo@_yT (p=0) at C:\Users\MdotC\Desktop\New folder (13)\gamemodes\SLRP.pwn:127613 
Reply
#2

We can't really do anything without code. I don't know how we should help you fix something we can't see...
Reply
#3

PHP код:
// Timer Name: ServerHeartbeat()
// TickRate: 1 secs.
ptask ServerHeartbeat[1000](playerid)
{
    new 
string[128];
    new 
level PlayerInfo[playerid][pLevel];
    
    
/////////////////////////// Toll Booth Check ///////////////////////////////
    
if(PlayerInfo[playerid][pAtTollBooth] == && IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleSeat(playerid) == 0)
    {
        for(new 
0MAX_TOLL_BOOTHSi++)
        {
            if(
PlayerInfo[playerid][pAtTollBooth] == 0)
            {
                new 
Float:TBXFloat:TBYFloat:TBZhasezpass;
                
GetDynamicObjectPos(TollBooths[i], TBXTBYTBZ);
                if(
IsPlayerInRangeOfPoint(playerid10.0TBXTBYTBZ))
                {
                    if(
TollShutdown == 0)
                    {
                        new 
carid GetPlayerVehicleID(playerid);
                        for(new 
v=0v<MAX_PLAYERVEHICLESv++)
                        {
                            if(
PlayerVehicleInfo[playerid][v][pvId] == carid && PlayerVehicleInfo[playerid][v][pvEZPass] == 1)
                             {
                                 
hasezpass 1;
                            }
                        }
                        if(
hasezpass == 1)
                         {
                             new 
ClosestTollObject GetClosestTollObject(playerid);
                            new 
Float:XFloat:YFloat:ZFloat:RXFloat:RYFloat:RZ;
                            
GetDynamicObjectPos(ClosestTollObjectXYZ);
                            
GetDynamicObjectRot(ClosestTollObjectRXRYRZ);
                            new 
str[64];
                            
MoveDynamicObject(ClosestTollObjectXYZ1RX0.0RZ);
                            
SendClientMessageEx(playeridCOLOR_YELLOW"Your EZPass Transponder has automatically let you through the toll booth.");
                            if(
IsABike(carid) && !IsACopCar(carid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER// Is it a Bike and not a cop bike
                            
{
                                
// Charge Calculations
                                
new taxcharge floatround(((TaxValue)/100), floatround_ceil);
                                new 
totalcharge taxcharge 5;
                                
PlayerInfo[playerid][pAccount] -= totalcharge;
                                
format(strsizeof(str), "Your account has been automatically deducted $%d"totalcharge);
                                
SendClientMessageEx(playeridCOLOR_YELLOWstr);
                            }
                            else if(
IsAHeavyVehicle(carid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER// Is it a Truck or Van
                            
{
                                if(
IsTrailerAttachedToVehicle(carid))
                                {
                                   
// Charge Calculations
                                    
new taxcharge floatround(((25 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 25;
                                    
PlayerInfo[playerid][pAccount] -= totalcharge;
                                    
format(strsizeof(str), "Your account has been automatically deducted $%d"totalcharge);
                                    
SendClientMessageEx(playeridCOLOR_YELLOWstr);
                                }
                                else
                                {
                                 
// Charge Calculations
                                
new taxcharge floatround(((15 TaxValue)/100), floatround_ceil);
                                new 
totalcharge taxcharge 15;
                                
PlayerInfo[playerid][pAccount] -= totalcharge;
                                
format(strsizeof(str), "Your account has been automatically deducted $%d"totalcharge);
                                
SendClientMessageEx(playeridCOLOR_YELLOWstr);
                                }
                            }
                            else 
// It's something else (Normal Car)
                            
{
                                if(
IsTrailerAttachedToVehicle(carid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
                                {
                                    
// Charge Calculations
                                    
new taxcharge floatround(((15 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 15;
                                    
PlayerInfo[playerid][pAccount] -= totalcharge;
                                    
format(strsizeof(str), "Your account has been automatically deducted $%d"totalcharge);
                                    
SendClientMessageEx(playeridCOLOR_YELLOWstr);
                                }
                                else
                                {
                                    
// Charge Calculations
                                    
new taxcharge floatround(((10 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 10;
                                    
PlayerInfo[playerid][pAccount] -= totalcharge;
                                    
format(strsizeof(str), "Your account has been automatically deducted $%d"totalcharge);
                                    
SendClientMessageEx(playeridCOLOR_YELLOWstr);
                                }
                            }
                            
SetTimerEx("ResetTollBoothObject"50000"ii"playeridClosestTollObject);
                            
PlayerInfo[playerid][pAtTollBooth] = 1;
                               
SetTimerEx("ResetTollBoothMenu"50000"i"playerid);
                        }
                        if(
hasezpass != 1)
                         {
                            new 
str[1024];
                            
PlayerInfo[playerid][pAtTollBooth] = 1;
                            if(
IsABike(carid) && !IsACopCar(carid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER// Is it a Regular Bike and not a COP Bike
                            
{
                                
// Charge Calculations
                                
new taxcharge floatround(((TaxValue)/100), floatround_ceil);
                                new 
totalcharge taxcharge 5;
                                
format(stringsizeof(string), "{00FF00}Los Angeles - Las Vegas Toll Booth Charge\n\n");
                                
strcat(strstring);
                                
format(stringsizeof(string), "{FFFFFF}Vehicle Type: Motorbike / Off-Road Bike\n");
                                
strcat(strstring);
                                
format(stringsizeof(string), "{FFFFFF}Tax Charge: $%d\n"taxcharge);
                                
strcat(strstring);
                                
format(stringsizeof(string), "{FFFFFF}Vehicle Charge: $5\n");
                                
strcat(strstring);
                                
format(stringsizeof(string), "{FFFFFF}Total Charge: $%d\n"totalcharge);
                                
strcat(strstring);
                                
ShowPlayerDialog(playeridDIALOG_TOLLBOOTHDIALOG_STYLE_MSGBOX"{FFFFFF}LA-LV Tollbooth"str"Accept""Reject");
                                
PlayerInfo[playerid][pTollBoothCharge] = totalcharge;
                            }
                            else if(
IsAHeavyVehicle(carid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER// Is it a Truck or Van
                            
{
                                if(
IsTrailerAttachedToVehicle(carid))
                                {
                                    
// Charge Calculations
                                    
new taxcharge floatround(((25 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 25;
                                    
format(stringsizeof(string), "{00FF00}Los Angeles - Las Vegas Toll Booth Charge\n\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Type: Heavy Vehicle and Trailer\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Tax Charge: $%d\n"taxcharge);
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Charge: $25\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Total Charge: $%d\n"totalcharge);
                                    
strcat(strstring);
                                    
ShowPlayerDialog(playeridDIALOG_TOLLBOOTHDIALOG_STYLE_MSGBOX"{FFFFFF}LA-LV Tollbooth"str"Accept""Reject");
                                    
PlayerInfo[playerid][pTollBoothCharge] = totalcharge;
                                }
                                else
                                {
                                    
// Charge Calculations
                                    
new taxcharge floatround(((15 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 15;
                                    
format(stringsizeof(string), "{00FF00}Los Angeles - Las Vegas Toll Booth Charge\n\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Type: Heavy Vehicle without Trailer\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Tax Charge: $%d\n"taxcharge);
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Charge: $15\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Total Charge: $%d\n"totalcharge);
                                    
strcat(strstring);
                                    
ShowPlayerDialog(playeridDIALOG_TOLLBOOTHDIALOG_STYLE_MSGBOX"{FFFFFF}LA-LV Tollbooth"str"Accept""Reject");
                                    
PlayerInfo[playerid][pTollBoothCharge] = totalcharge;
                                }
                            }
                            else 
// It's something else (Normal Car) or CopCar
                            
{
                                if(
IsTrailerAttachedToVehicle(carid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
                                {
                                    
// Charge Calculations
                                    
new taxcharge floatround(((15 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 15;
                                    
format(stringsizeof(string), "{00FF00}Los Angeles - Las Vegas Toll Booth Charge\n\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Type: Standard Vehicle and Trailer\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Tax Charge: $%d\n"taxcharge);
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Charge: $15\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Total Charge: $%d\n"totalcharge);
                                    
strcat(strstring);
                                    
ShowPlayerDialog(playeridDIALOG_TOLLBOOTHDIALOG_STYLE_MSGBOX"{FFFFFF}LA-LV Tollbooth"str"Accept""Reject");
                                    
PlayerInfo[playerid][pTollBoothCharge] = totalcharge;
                                }
//check for pd vehicles
                                
else if(IsACopCar(carid) || IsAnLVMPDCar(carid) || IsAnMPSCar(carid) || IsAFBICar(carid) || IsAnAmbulance(carid) || IsAnCHPCar(carid) || IsAnSASDCar(carid) || IsAnDOCCar(carid)
                                || 
IsAPersonalCopCar(carid) || GetPlayerColor(playerid) == COLOR_VIP)
                                {
                                    new 
ClosestTollObject GetClosestTollObject(playerid);
                                    new 
Float:XFloat:YFloat:ZFloat:RXFloat:RYFloat:RZ;
                                    
GetDynamicObjectPos(ClosestTollObjectXYZ);
                                    
GetDynamicObjectRot(ClosestTollObjectRXRYRZ);
                                    
MoveDynamicObject(ClosestTollObjectXYZ1RX0.0RZ);
                                    
SendClientMessageEx(playeridCOLOR_YELLOW"Your EZPass Fleet Transponder has automatically let you through the toll booth.");
                                    
SetTimerEx("ResetTollBoothObject"50000"ii"playeridClosestTollObject);
                                    
PlayerInfo[playerid][pAtTollBooth] = 1;
                                    
SetTimerEx("ResetTollBoothMenu"50000"i"playerid);
                                }
                                else
                                {
                                    
// Charge Calculations
                                    
new taxcharge floatround(((10 TaxValue)/100), floatround_ceil);
                                    new 
totalcharge taxcharge 10;
                                    
format(stringsizeof(string), "{00FF00}Los Angeles - Las Vegas Toll Booth Charge\n\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Type: Standard Vehicle\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Tax Charge: $%d\n"taxcharge);
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Vehicle Charge: $10\n");
                                    
strcat(strstring);
                                    
format(stringsizeof(string), "{FFFFFF}Total Charge: $%d\n"totalcharge);
                                    
strcat(strstring);
                                    
ShowPlayerDialog(playeridDIALOG_TOLLBOOTHDIALOG_STYLE_MSGBOX"{FFFFFF}LA-LV Tollbooth"str"Accept""Reject");
                                    
PlayerInfo[playerid][pTollBoothCharge] = totalcharge;
                                }
                            }
                        }
                    }
                    else if(
TollShutdown == && (IsAGovernmentFaction(playerid)))
                    {
                        new 
ClosestTollObject GetClosestTollObject(playerid);
                        new 
Float:XFloat:YFloat:ZFloat:RXFloat:RYFloat:RZ;
                        
GetDynamicObjectPos(ClosestTollObjectXYZ);
                        
GetDynamicObjectRot(ClosestTollObjectRXRYRZ);
                        
MoveDynamicObject(ClosestTollObjectXYZ1RX0.0RZ);
                        
SendClientMessageEx(playeridCOLOR_YELLOW"You have been let through the shutdown toll booth.");
                        
SetTimerEx("ResetTollBoothObject"50000"ii"playeridClosestTollObject);
                        
PlayerInfo[playerid][pAtTollBooth] = 1;
                        
SetTimerEx("ResetTollBoothMenu"50000"i"playerid);
                        
PlayerInfo[playerid][pAtTollBooth] = 1;
                    }
                    else if(
TollShutdown == && !IsAGovernmentFaction(playerid))
                    {
                        
PlayerInfo[playerid][pAtTollBooth] = 1;
                        
SendClientMessageEx(playeridCOLOR_GRAD2"  The Toll Booth has been shutdown by the Police, you are not allowed through at this time.");
                        
SetTimerEx("ResetTollBoothMenu"50000"i"playerid);
                    }
                }
            }
        }
    } 
Reply
#4

PHP код:
// Timer Name: ServerHeartbeatTwo()
// TickRate: 1 secs.
ptask ServerHeartbeatTwo[1000](playerid)
{
    new 
Float:oldposxFloat:oldposyFloat:oldposz;
    new 
myweapons[13][2];
    
//new szMessage[128];
    
if(GetPVarInt(playerid"IsInArena") == -1)
    {
        for (new 
013i++)
        {
            
GetPlayerWeaponData(playeridimyweapons[i][0], myweapons[i][1]);
            if(
PlayerInfo[playerid][pGuns][i] == myweapons[i][0])
            {
                
PlayerInfo[playerid][pGunAmmo][i] = myweapons[i][1];
                   
//format(szMessage, sizeof(szMessage), "* %s has ran out of ammo.", GetPlayerNameEx(playerid));//ran out of ammo check
               // ProxDetector(25.0, playerid, szMessage, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
}
        }
    }
    if(
GetPVarInt(playerid"IsOnFire") && !CanPlayerBurn(playerid1))
    {
        
TogglePlayerBurning(playeridfalse);
    }
    if(
CanPlayerBurn(playerid) && IsAtFire(playerid))
        {
            
TogglePlayerBurning(playeridtrue);
        }
        
#if defined BurnOthers
        
new Float:xFloat:yFloat:z;
        for(new 
iMAX_PLAYERSi++)
          {
              if(
playerid != && IsPlayerConnected(i) && !IsPlayerNPC(i))
              {
                  if(
CanPlayerBurn(i) && GetPVarInt(playerid"IsOnFire") && !GetPVarInt(i"IsOnFire"))
                  {
                      
GetPlayerPos(ixyz);
                    if(
IsPlayerInRangeOfPoint(playeridBURNING_RADIUSxyz))
                    {
                        
TogglePlayerBurning(itrue);
                    }
                }
            }
        }
        
#endif
    
if(IsPlayerInAnyVehicle(playerid)) {
        
SetPlayerArmedWeapon(playerid0);
    }
    if(
GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK && JetPack[playerid] == && PlayerInfo[playerid][pAdmin] < 4)
    {
        new 
string[74 MAX_PLAYER_NAME];
        
formatstringsizeof( string ), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) possibly just loaded s0biet and gave himself a fucking jetpack...Faggot"GetPlayerNameEx(playerid), playerid);
        
ABroadCastCOLOR_YELLOWstring);
        
format(stringsizeof(string), "%s (ID %d) may possibly be jetpack hacking."GetPlayerNameEx(playerid), playerid);
        
Log("logs/hack.log"string);
    }
    if(
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) for(new 0sizeof(FamilyInfo); h++)
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0FamilyInfo[h][FamilySafe][0], FamilyInfo[h][FamilySafe][1], FamilyInfo[h][FamilySafe][2]))
        {
            if(
FamilyInfo[h][FamilyUSafe] == 1)
            {
                
GameTextForPlayer(playerid"~y~gang safe~w~~n~Type ~r~/safehelp~w~ for more information"50003);
            }
        }
    }
    if(
GetPlayerState(playerid) == && IsPlayerInRangeOfPoint(playerid,2.0, -1608.8733,1284.3466,7.1777) || IsPlayerInRangeOfPoint(playerid,2.02101.7676,-1885.9995,13.5469) || IsPlayerInRangeOfPoint(playerid,2.0534.2360,913.0679,-42.9609))
    {
        if(
PlayerInfo[playerid][pJob] == 24)
        {
            new 
string[128];
            
format(stringsizeof(string), "~y~Materials Bank~n~Materials storage: ~r~%d ~n~~w~You can restock in San Fierro"matssys[MatsAmmount]);
            
GameTextForPlayer(playeridstring50003);
        }
        else if(
PlayerInfo[playerid][pJob] != 24)
        {
            new 
string[128];
            
format(stringsizeof(string), "~y~Materials Bank~n~Materials storage: ~r~%d"matssys[MatsAmmount]);
            
GameTextForPlayer(playeridstring50003);
        }
        else if(
PlayerInfo[playerid][pJob] == 9)
        {
            new 
string[128];
            
format(stringsizeof(string), "~y~Materials Bank~n~Materials storage: ~r~%d ~n~~w~You can ~g~/getmats ~w~in Los Angeles"matssys[MatsAmmount]);
            
GameTextForPlayer(playeridstring50003);
        }
    }
    if(
GetPlayerState(playerid) == && IsPlayerInRangeOfPoint(playerid,2.0,325.6044,1123.5282,1083.8828))
    {
        if(
PlayerInfo[playerid][pJob] == 14)
        {
            new 
string[128];
            
format(stringsizeof(string), "~y~Drug House (Pot): %d~n~~y~Drug House (Crack): %d"drugsys[DrugPotAmmount], drugsys[DrugCrackAmmount]);
            
GameTextForPlayer(playeridstring50003);
        }
        else if(
PlayerInfo[playerid][pJob] == 4)
        {
            new 
string[128];
            
format(stringsizeof(string), "~y~Drug House (Pot): %d~n~~y~Drug House (Crack): %d~n~~w~You can /getpot && /getcrack here"drugsys[DrugPotAmmount], drugsys[DrugCrackAmmount]);
            
GameTextForPlayer(playeridstring50003);
        }
        else
        {
            new 
string[128];
            
format(stringsizeof(string), "~y~Drug House (Pot): %d~n~~y~Drug House (Crack): %d"drugsys[DrugPotAmmount], drugsys[DrugCrackAmmount]);
            
GameTextForPlayer(playeridstring50003);
        }
    }
    if(
GetPlayerState(playerid) == && IsPlayerInRangeOfPoint(playerid,2.0,-51.4929,1398.0430,1084.4297))
    {
        new 
string[128];
        
format(stringsizeof(string), "~y~Type ~r~/cookheroin~n~~y~to begin cooking your heroin!");
        
GameTextForPlayer(playeridstring50003);
    }
    if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER && IsPlayerInRangeOfPoint(playerid,2.0,-1584.3499,-2718.8491,48.5391))
    {
        new 
string[128];
        
format(stringsizeof(string), "~y~Type ~r~/opengarage ~y~to enter the garage.");
        
GameTextForPlayer(playeridstring50003);
    }
    for(new 
0sizeof(Points); h++)
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0Points[h][Pointx], Points[h][Pointy], Points[h][Pointz]))
        {
            if(
Points[h][Type] == && GetPVarInt(playerid"Packages") == 0)
            {
                
GameTextForPlayer(playerid"~w~Type /getmats to purchase a ~n~~r~materials package"50005);
            }
            else if(
Points[h][Type] == && PlayerInfo[playerid][pPot] < 3)
            {
                
GameTextForPlayer(playerid"~w~Type /getseeds to purchase some ~r~pot seeds"50005);
            }
        }
    }
    if(
SafeTime[playerid] > 0) {
        if(--
SafeTime[playerid] == && gPlayerAccount[playerid] == && gPlayerLogged{playerid} == 0) {
            
SendClientMessageEx(playeridCOLOR_WHITE"HINT: You can now login by typing your password below.");
        }
    }
    if(
PlayerInfo[playerid][pLocal] != 255 && PlayerInfo[playerid][pInt] != 0)
    {
        new 
house PlayerInfo[playerid][pLocal];
        
GetPlayerPos(playeridoldposxoldposyoldposz);
        if(
oldposz != 0.0)
        {
            if(
oldposz 600.0)
            {
                if(
house == 242)
                {
                    
SetPlayerInterior(playerid,0);
                    
SetPlayerPos(playerid,1073.0619,-344.5148,73.9922);
                    
PlayerInfo[playerid][pInt] = 0;
                    
PlayerInfo[playerid][pLocal] = 255;
                }
            }
        }
    }
    if(
CellTime[playerid] > 0)
    {
        if (
CellTime[playerid] == cchargetime)
        {
            
CellTime[playerid] = 1;
            if(
Mobile[Mobile[playerid]] == playerid)
            {
                
CallCost[playerid] += callcost;
            }
        }
        
CellTime[playerid]++;
        if (
Mobile[Mobile[playerid]] == INVALID_PLAYER_ID && CellTime[playerid] == 5)
        {
            if(
IsPlayerConnected(Mobile[playerid]))
            {
                new 
Float:rXFloat:rYFloat:rZ;
                
GetPlayerPos(playeridrXrYrZ);
                new 
string[18 MAX_PLAYER_NAME];
                
format(stringsizeof(string), "* %s's phone rings."GetPlayerNameEx(Mobile[playerid]));
                
RingTone[Mobile[playerid]] = 10;
                
ProxDetector(30.0Mobile[playerid], stringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            }
        }
    }
    if(
CellTime[playerid] == && CallCost[playerid] > 0)
    {
        new 
string[28];
        
format(stringsizeof(string), "~w~The call cost~n~~r~$%d",CallCost[playerid]);
        
GivePlayerCash(playerid, -CallCost[playerid]);
        
GameTextForPlayer(playeridstring50001);
        
CallCost[playerid] = 0;
    }
    if(
TransportDriver[playerid] < 999)
    {
        if(
GetPlayerVehicleID(playerid) != GetPlayerVehicleID(TransportDriver[playerid]) || !TransportDuty[TransportDriver[playerid]])
        {
            if(
IsPlayerConnected(TransportDriver[playerid]))
            {
                
TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
                
TransportTime[TransportDriver[playerid]] = 0;
                
TransportCost[TransportDriver[playerid]] = 0;
                new 
string[36];
                
format(stringsizeof(string), "~w~Passenger left~n~~g~Earned $%d",TransportCost[playerid]);
                
GameTextForPlayer(TransportDriver[playerid], string50001);
                
TransportDriver[playerid] = 999;
            }
        }
        else if(
TransportTime[playerid] >= 16)
        {
            
TransportTime[playerid] = 1;
            if(
TransportDriver[playerid] < 999)
            {
                if(
IsPlayerConnected(TransportDriver[playerid]))
                {
                      
TransportCost[playerid] += TransportValue[TransportDriver[playerid]];
                    
TransportCost[TransportDriver[playerid]] = TransportCost[playerid];
                }
            }
        }
        
TransportTime[playerid] += 1;
        new 
string[24];
        
format(stringsizeof(string), "~r~%d ~w~: ~g~$%d",TransportTime[playerid],TransportCost[playerid]);
        
GameTextForPlayer(playeridstring150006);
        if(
TransportCost[playerid] > GetPlayerCash(playerid))
        {
            
//RemovePlayerFromVehicle(playerid);
            
new Float:slxFloat:slyFloat:slz;
            
GetPlayerPos(playeridslxslyslz);
            
SetPlayerPos(playeridslxslyslz 2);
            
GameTextForPlayer(playerid"~r~You're flat out of cash!"40004);
        }
    }
    if(
GetPVarInt(playerid"rccam") == 0)
    {
        if(
GetVehicleModel(GetPlayerVehicleID(playerid)) != 594)
        {
             
DestroyVehicle(GetPVarInt(playerid"rcveh"));
             
KillTimer(GetPVarInt(playerid"rccamtimer"));
        }
    }

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)