debugs
#1

Код:
[14:20:03] [kill] Alao killed DaniHD Sniper Rifle
[14:20:07] [debug] Run time error 4: "Array index out of bounds"
[14:20:07] [debug]  Attempted to read/write array element at negative index -1
[14:20:07] [debug] AMX backtrace:
[14:20:07] [debug] #0 0008bd7c in public OnPlayerSpawn (playerid=10) at E:\Samp-Files\aGamemodes\BB\gamemodes\BBTDM1-2.pwn:7967
Код:
    g_GotInvitedToDuel[playerid] = 0;
    g_HasInvitedToDuel[playerid] = 0;
    g_IsPlayerDueling[playerid]  = 0;
    if(g_DuelingID1 != INVALID_PLAYER_ID)
    {
       g_GotInvitedToDuel[g_DuelingID1] = 0; //7967 line
       g_HasInvitedToDuel[g_DuelingID1] = 0;
       g_IsPlayerDueling[g_DuelingID1]  = 0;
	}
    g_DuelInProgress = 0;
   	g_DuelingID1 = -1;
	g_DuelingID2 = -1;
does anybody have any idea whats wrong ?
Reply


Messages In This Thread
debugs - by XBossX - 17.10.2016, 13:28
Re: debugs - by ThatFag - 17.10.2016, 13:55
Re: debugs - by XBossX - 17.10.2016, 14:03
Re: debugs - by ThatFag - 17.10.2016, 14:33
Re: debugs - by Konstantinos - 17.10.2016, 14:57

Forum Jump:


Users browsing this thread: 1 Guest(s)