14.10.2016, 10:39
This is the errors that i've got:
This is the script:
Line 490:
Help me please.
Quote:
TDM.pwn(490) : error 001: expected token: "-string end-", but found "-identifier-" TDM.pwn(490) : warning 215: expression has no effect TDM.pwn(490) : error 001: expected token: ";", but found ")" TDM.pwn(490) : error 029: invalid expression, assumed zero TDM.pwn(490) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
pawn Код:
pInfo[playerid][AdminLevel] = 0;
pInfo[playerid][LoggedIn] = false;
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadPlayerData", .bExtra = true, .extra = playerid)
format(string, sizeof(string),""COL_LIGHTBLUE"Welcome back to LSGW, "COL_BLUE"%s!\n\n"COL_LIGHTBLUE"To be able to spawn, play, and takes the advantage of the features that we offer, you need to login to this account.\n\n"COL_RED"Insert your password in the field below.\nIf this is not your account, please make one!", GetPlayersName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Account Login", string, "Login", "Quit");
}
else
{
format(string, sizeof(string),""COL_LIGHTBLUE"Welcome to LSGW, "COL_BLUE"%s!\n\n"COL_LIGHTBLUE"To be able to spawn, play, and takes the advantage of the features that we offer, you need to register an account.\n\n"COL_RED"Insert your password in the field below.\nDon't ever give it to other people, even our administrators!",GetPlayersName(playerid));
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Account Register", string, "Register", "Quit");
}
pawn Код:
if(fexist(UserPath(playerid)))
Help me please.