Random Plate bugs help
#3

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.
Reply


Messages In This Thread
Random Plate bugs help - by Stefand - 09.12.2012, 12:22
Re: Random Plate bugs help - by Vince - 09.12.2012, 13:13
Re: Random Plate bugs help - by Stefand - 09.12.2012, 13:35
Re: Random Plate bugs help - by Vince - 09.12.2012, 13:45
Re: Random Plate bugs help - by Stefand - 09.12.2012, 14:36
Re: Random Plate bugs help - by deb014 - 09.12.2012, 15:34
Re: Random Plate bugs help - by Stefand - 09.12.2012, 15:41
Re: Random Plate bugs help - by Stefand - 09.12.2012, 16:09
Re: Random Plate bugs help - by deb014 - 09.12.2012, 16:19
Re: Random Plate bugs help - by Stefand - 09.12.2012, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)