26.08.2014, 20:53
Hi there 
I have a little concern about the car number plate system.
Code:
Error: error 047: array sizes do not match, or destination array is too small
and error line: CarInfo[CarID][cRegistration] = string;

I have a little concern about the car number plate system.
Code:
Код:
new Letters[26][] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; new string[10]; format( string, sizeof( string ), "%s%s%s %d%d%d", Letters[random(sizeof(Letters))], Letters[random(sizeof(Letters))], Letters[random(sizeof(Letters))], random(10), random(10), random(10) ); CarInfo[CarID][cRegistration] = string;
and error line: CarInfo[CarID][cRegistration] = string;