17.02.2014, 12:19
Quote:
It seems that there are 2 parts that give the run time error. One in OnDialogResponse callback and line 2197 (before executing the command - so this one has nothing to do with it) and the other one after disconnecting and line 2351. The problem is the loop so do:
pawn Код:
|
Код:
[03:17:42] Number of vehicle models: 6 [03:18:14] Incoming connection: 127.0.0.1:1576 [03:18:14] [join] Test has joined the server (0:127.0.0.1) [03:18:27] [CMD] Test: /seif [03:18:29] [CMD] Test: /seif [03:18:31] [CMD] Test: /seif [03:18:33] [debug] Run time error 4: "Array index out of bounds" [03:18:33] [debug] Accessing element at index 5 past array upper bound 4 [03:18:33] [debug] AMX backtrace: [03:18:33] [debug] #0 0002c680 in public SSCANF_OnPlayerDisconnect (playerid=0, reason=1) at C:\~Jocuri~\Trucking samp\gamemodes\v0.5b.pwn:2355 [03:18:33] [debug] #1 00001eec in public Streamer_OnPlayerDisconnect (playerid=0, reason=1) at C:\~Jocuri~\Trucking samp\pawno\include\sscanf2.inc:229 [03:18:33] [debug] #2 00000474 in public OnPlayerDisconnect (playerid=0, reason=1) at C:\~Jocuri~\Trucking samp\pawno\include\streamer.inc:297 [03:18:33] [part] Test has left the server (0:1) [03:18:41] --- Server Shutting Down. [03:18:42] [FS] with objects - unloaded! [03:18:42]