03.03.2014, 08:38
So, I have an error:
ERROR:
SCRIPT
THE LINE:
Can anyone tell me how to solve this and why is a error?
ERROR:
Код:
#:\#\#\gamemode.pwn(119) : error 001: expected token: "-string end-", but found "-identifier-" #:\#\#\gamemode.pwn(119) : warning 215: expression has no effect #:\#\#\gamemode.pwn(119) : error 001: expected token: ";", but found ")" #:\#\#\gamemode.pwn(119) : error 029: invalid expression, assumed zero #:\#\#\gamemode.pwn(119) : fatal error 107: too many error messages on one line
Код:
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; }
Код:
if(fexist(UserPath(playerid)))