Unknon command
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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 Код:
for (new t; t != sizeof (Logo); ++t)
{
    // code..
    TextDrawShowForPlayer(playerid, Logo[t]);
}
This problem solved, but /seif ... don't work..
Код:
[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]
But..command is good?
Reply


Messages In This Thread
Unknon command - by [RO]Five - 16.02.2014, 15:01
Re: Unknon command - by Konstantinos - 16.02.2014, 15:11
Re: Unknon command - by [RO]Five - 16.02.2014, 16:11
Re: Unknon command - by Konstantinos - 16.02.2014, 16:20
Re: Unknon command - by [RO]Five - 16.02.2014, 16:44
Re: Unknon command - by Konstantinos - 16.02.2014, 18:26
Re: Unknon command - by [RO]Five - 17.02.2014, 12:04
Re: Unknon command - by Konstantinos - 17.02.2014, 12:10
Re: Unknon command - by [RO]Five - 17.02.2014, 12:19
Re: Unknon command - by Konstantinos - 17.02.2014, 12:22

Forum Jump:


Users browsing this thread: 2 Guest(s)