09.12.2012, 13:13
Lower case letters don't follow the upper case letters directly in the ASCII code.
pawn Код:
const charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
new VPlate[8]; // don't waste resources
format(VPlate, sizeof(VPlate), "%c%c%c-%03d", charset[random(sizeof(charset))], charset[random(sizeof(charset))], charset[random(sizeof(charset))], (100 + random(900)));