Using color defines
#7

I've found out that it wasn't the problem of the colors.
It's because of another line, which is:
Код:
if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        new string[128], playerName[24];
		GetPlayerName(playerid, playerName, sizeof(playerName));
		format(string, sizeof(string), COLOR_YELLOW"Welcome back "COLOR_LIGHTBLUE"%s "COLOR_WHITE"\nplease type your password below to log in.", GetName(playerid));
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, COLOR_WHITE"Login", string, "Login", "Quit");
    }
and 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) : warning 215: expression has no effect
C:\Users\Ruud\Documents\Samp\RP alles in 1\gamemodes\RP.pwn(194) : error 001: expected token: ";", but found "-integer value-"
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) : 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)