stock stopround()
{
    for(new i; i<20; i++)
    {
        DestroyVehicle(copcar[i]);
        DestroyVehicle(robbercar[i]);
    }
    for(new i2; i2<20; i2++)
    {
        if(i2 != INVALID_PLAYER_ID) {
            if(!IsPlayerConnected(i2) || SpielerInfo[i2][afk] == 1 || IsPlayerNPC(i2)) continue;
            SpawnPlayer(i2);
            SetPlayerSkin(i2, SpielerInfo[i2][skin]);
            isRobber[i2] = 0;
            isInRound[i2] = 0;
            ResetPlayerWeapons(i2);
            SetPlayerHealth(i2, 100.0);
            SetPlayerArmour(i2, 0.0);
        }
    }
    sendszmsg2();
    return 1;
}
Code
		
			[22:08:09] [debug] Run time error 4: "Array index out of bounds"
[22:08:09] [debug]  Attempted to read/write array element at index 2 in array of size 2
[22:08:09] [debug] AMX backtrace:
[22:08:09] [debug] #0 00007ebc in ?? (0) from U2.amx
[22:08:09] [debug] #1 00002924 in public ocmd_rundebeenden (0, 827020) from U2.amx
[22:08:09] [debug] #2 native CallLocalFunction () from samp-server.exe
[22:08:09] [debug] #3 000004a4 in public OnPlayerCommandText (0, 826964) from U2.amx 
		 
		
		
	 
			
									
		



