Using color defines
#1

I got some color defines:
Код:
#define	COLOR_BLACK		0x000000AA
#define	COLOR_WHITE		0xFFFFFFAA
#define	COLOR_GREEN		0x00FF00AA
#define	COLOR_RED		0xFF0000AA
#define	COLOR_BLUE		0x0000FFAA
#define	COLOR_YELLOW	0xFFFF00AA
#define	COLOR_ORANGE	0xFFBB00AA
#define	COLOR_PURPLE	0xFF00FFAA
#define	COLOR_GRAY		0xAFAFAFAA
#define	COLOR_LIGHTBLUE	0x0AFFFFAA
But there is an error on this line:
Код:
format(string, 128, "COLOR_YELLOW"Welcome back "COLOR_LIGHTBLUE"%s "COLOR_WHITE"\nplease type your password below to log in.", GetName(playerid));
This is the error:
Код:
C:\Users\Ruud\Documents\Samp\RP alles in 1\gamemodes\RP.pwn(194) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Ruud\Documents\Samp\RP alles in 1\gamemodes\RP.pwn(194) : error 017: undefined symbol "Welcome"
C:\Users\Ruud\Documents\Samp\RP alles in 1\gamemodes\RP.pwn(194) : error 017: undefined symbol "back"
C:\Users\Ruud\Documents\Samp\RP alles in 1\gamemodes\RP.pwn(194) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Using color defines - by xX4m4zingXx - 21.01.2015, 17:45
Re: Using color defines - by DobbysGamertag - 21.01.2015, 17:54
Re: Using color defines - by xX4m4zingXx - 21.01.2015, 20:17
Re: Using color defines - by Ironboy - 21.01.2015, 20:22
Re: Using color defines - by xX4m4zingXx - 22.01.2015, 06:36
AW: Using color defines - by Nero_3D - 22.01.2015, 07:16
Re: Using color defines - by xX4m4zingXx - 22.01.2015, 15:20
Re: Using color defines - by Arxalan - 22.01.2015, 15:33
Re: Using color defines - by Ironboy - 22.01.2015, 15:35
Re: Using color defines - by xX4m4zingXx - 22.01.2015, 15:48

Forum Jump:


Users browsing this thread: 1 Guest(s)