Array index out of bounds.
#5

Quote:
Originally Posted by iLearner
View Post
What do you pass as parameter team.
The ID from an array.
Depends wich Team, if team[0] then array =>

Code:
new fb_team1[][] = 
{
	
	"Arsenal",
	"Aston Villa",
	"Barnsley",
	"Birmingham City",
	"Blackburn Rovers",
	"Blackpool",
	"Bolton Wanderers",
	"Bournemouth",
	"Bardford City",
	"Burnley",
	"Cardiff City",
	"Charlton Athletic",
	"Chelsea",
	"Coventry City",
	"Crystal Palace",
	"Derby County",
	"Everton",
	"Fulham",
	"Hull City",
	"Ipswich Town",
	"Leeds United",
	"Leicester City",
	"Liverpool",
	"Machester City"

};
else for match[1]

Code:
new fb_team2[][] = 
{
	
	"Oldham Athletic",
	"Portsmouth",
	"Queens Park Rangers",
	"Reading",
	"Sheffield United",
	"Sheffield Wednesday",
	"Southampton",
	"Stoke City",
	"Sunderland",
	"Swansea City",
	"Swindon Town",
	"Tottenham Hotspur",
	"Watford",
	"West Bromwich Albion",
	"West Ham United",
	"Wigan Athletic",
	"Wimbledon",
	"Wolverhampton Wanderers",
	"Middlesbrough",
	"Newcastle United",
	"Norwich City",
	"Nottingham Forest",
	"Manchester United"
	
};
Reply


Messages In This Thread
Array index out of bounds. - by danielpalade - 30.04.2017, 01:57
Re: Array index out of bounds. - by SoLetsGO - 30.04.2017, 08:38
Re: Array index out of bounds. - by danielpalade - 30.04.2017, 16:16
Re: Array index out of bounds. - by iLearner - 30.04.2017, 16:19
Re: Array index out of bounds. - by danielpalade - 30.04.2017, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)