Array must be indexed error
#2

Then you probably declared it as:

Код:
new CityHallWasRobbedRecently [];
just change it to:
Код:
new CityHallWasRobbedRecently ;
IF.. you're only using one CityHall off-course, else you need to give the index of the cityhall
between those brackets like:
Код:
new CityHallWasRobbedRecently [0];
for if the First city hall has been robbed, then change the 0 to a 1 for the second etc etc.

Hope this helped.
Reply


Messages In This Thread
Array must be indexed error - by DarkLored - 25.11.2013, 02:34
Re: Array must be indexed error - by VenomXNL - 25.11.2013, 03:27
Re: Array must be indexed error - by CoaPsyFactor - 25.11.2013, 08:53
Re: Array must be indexed error - by DarkLored - 25.11.2013, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)