Help error 001: expected token
#1

hello I have the following error in the line, and not only an error gives me 2 errors in the same line

the mistake he gives me is

Код:
error 001: expected token: "-string end-", but found "-identifier-"
Код:
format(str, sizeof(str), "{00CC00}Estacionamiento"COLOR_BLANCO"\nID: %i | Propietario: {4C94F6}%s"COLOR_BLANCO"\nCon nivel %d puedes "C_AMARILLO"/comprar estacionamiento"COLOR_BLANCO"\nPrecio: {00B400}$%d"COLOR_BLANCO"\n\nPara guardar tu vehнculo usa "C_AMARILLO"/entrar"COLOR_BLANCO"\nEl costo es de {00B400}$%d"COLOR_BLANCO"/dнa", i, Estaciona[i][Propietario], Estaciona[i][Nivel], Estaciona[i][Precio], Estaciona[i][Cuota]);
Help me
Reply
#2

Show me ur code "COLOR_BLANCO"
Reply
#3

Quote:
Originally Posted by dani18
Посмотреть сообщение
Show me ur code "COLOR_BLANCO"
#define COLOR_BLANCO 0xFFFFFFAA
Reply
#4

Test this:

Код:
#define COLOR_BLANCO "FFFFFF"
Reply
#5

Mmmm no, + errors

error 001: expected token: ";", but found "-integer value-"
fatal error 107: too many error messages on one line
Reply
#6

Oh sure, sorry, test this;

Код:
format(str, sizeof(str), "{00CC00}Estacionamiento{"COLOR_BLANCO"}\nID: %i | Propietario: {4C94F6}%s{"COLOR_BLANCO"}\nCon nivel %d puedes {"C_AMARILLO"}/comprar estacionamiento{"COLOR_BLANCO"}\nPrecio: {00B400}$%d{"COLOR_BLANCO"}\n\nPara guardar tu vehнculo usa {"C_AMARILLO"}/entrar{"COLOR_BLANCO"}\nEl costo es de {00B400}$%d{"COLOR_BLANCO"}/dнa", i, Estaciona[i][Propietario], Estaciona[i][Nivel], Estaciona[i][Precio], Estaciona[i][Cuota]);

And add this, #define C_AMARILLO "FFFF00"
Reply
#7

Thanks!
Reply
#8

Quote:
Originally Posted by R0B0C0B
Посмотреть сообщение
Thanks!
Sure,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)