This sets the plate to 16 characters, why?
#1

pawn Код:
new string[MAX_VEHICLE_PLATE];
            new const charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

            for(new i; i < MAX_VEHICLE_PLATE; i++)
            {
                string[i] = charset[RandomEx(0, sizeof(charset) - 1)];
            }
The plate should be 8 characters according to the MAX_VEHICLE_PLATE anyone tell me why?
Reply


Messages In This Thread
This sets the plate to 16 characters, why? - by Dokins - 06.02.2012, 17:23
Re: This sets the plate to 16 characters, why? - by T0pAz - 06.02.2012, 17:26
Re: This sets the plate to 16 characters, why? - by Dokins - 06.02.2012, 17:41

Forum Jump:


Users browsing this thread: 3 Guest(s)