07.12.2014, 11:06
Quote:
public OnPlayerConnect(playerid)
{ if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WH ITE"Type your password below to login.","Login","Quit"); } else { ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""C OL_WHITE"Type your password below to register a new account.","Register","Quit"); } return 1; } C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(125) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(125) : warning 215: expression has no effect C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(125) : error 001: expected token: ";", but found "-string-" C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(125) : warning 215: expression has no effect C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(125) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(125) : fatal error 107: too many error messages on one line Dosen't work |
i mean, i already told you before :/
anyways,
here:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WH ITE"Type your password below to login.","Login","Quit");
//change COLOR_WH ITE
//to COLOR_WHITE
pawn Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""C OL_WHITE"Type your password below to register a new account.","Register","Quit");
//change C OL_WHITE
//to COL_WHITE