Quote:
Originally Posted by Vince
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)));
|
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8662) : error 001: expected token: "=", but found "["
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8662) : error 029: invalid expression, assumed zero
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8662) : warning 215: expression has no effect
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8664) : error 028: invalid subscript (not an array or too many subscripts): "charset"
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8664) : error 039: constant symbol has no size
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8664) : error 029: invalid expression, assumed zero
C:\Users\Stefan Dorst\Desktop\Scratch RolePlay\gamemodes\RP.pwn(8664) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.