18.11.2017, 15:39
Quote:
|
I can see the mistake now.
Код:
SetTimerEx("BanPlayer",200,false,"ud", id,2);
Код:
for (new i = 0; i <= MAX_PLAYERS; i++) PS: You didn't compile with debug info though, that would give the exact line and would be easier to track down. |
PHP код:
for (new i = 0; i <= MAX_PLAYERS; i++)
{
new eveh = GetPlayerVehicleID(i);
if(PlayerTemp[i][isevent] == 1 && eveh != EventCars[i] || PlayerTemp[i][isevent] == 3 && eveh != EventCars[i])// line with the error
{
PHP код:
[debug] AMX backtrace:
[22:27:09] [debug] #0 00000030 in public OnPlayerDisconnect () at <unknown file>:0
[22:27:09] [debug] #1 native Kick () from samp-server.exe
[22:27:09] [debug] #2 00081560 in public KickPlayer (playerid=0) at ./comps/callbacks.pwn:3016
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public KickPlayer(playerid)
{
Kick(playerid);// this is line 3016
return 1;
}

