11.07.2013, 06:21 
	
	
	
		Hello. I did the registration / login script for this tutorial: https://sampforum.blast.hk/showthread.php?tid=273088  I get errors: 
Line 83 is in this line:
Please help.
Sorry for my bad english
I am Lithuanian
	
	
	
Код:
C:\Users\Arūnas\Desktop\VRSG\gamemodes\RSF.pwn(83) : error 017: undefined symbol "DIALOG_LOGIN" C:\Users\Arūnas\Desktop\VRSG\gamemodes\RSF.pwn(83) : error 017: undefined symbol "COL_WHITE" C:\Users\Arūnas\Desktop\VRSG\gamemodes\RSF.pwn(83) : warning 215: expression has no effect C:\Users\Arūnas\Desktop\VRSG\gamemodes\RSF.pwn(83) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Arūnas\Desktop\VRSG\gamemodes\RSF.pwn(83) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}
Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
Sorry for my bad english
I am Lithuanian

