29.12.2018, 17:30
hi
so i am getting these errors
and line 83 is
and this is the part the line is in:
I can't see anything wrong with it. pls help thanks
so i am getting these errors
Code:
C:\Users\McVid\Desktop\gta\gamemodes\testgm.pwn(83) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\McVid\Desktop\gta\gamemodes\testgm.pwn(83) : warning 215: expression has no effect C:\Users\McVid\Desktop\gta\gamemodes\testgm.pwn(83) : error 001: expected token: ";", but found "-string-" C:\Users\McVid\Desktop\gta\gamemodes\testgm.pwn(83) : warning 215: expression has no effect C:\Users\McVid\Desktop\gta\gamemodes\testgm.pwn(83) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\McVid\Desktop\gta\gamemodes\testgm.pwn(83) : fatal error 107: too many error messages on one line
Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Please type your password below to login.","Login","Quit");
Code:
public OnPlayerConnect(playerid) { SendClientMessage(playerid,COLOR_WHITE,"Welcome to {88AA88}T{FFFFFF}est {88AA88}S{FFFFFF}erver"); 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_WHITE"Please type your password below to login.","Login","Quit"); } else { ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_WHITE"Welcome!",""COLOR_WHITE"Please type your password below to register a new account.","Register","Quit"); } gPlayerCitySelection[playerid] = -1; gPlayerHasCitySelected[playerid] = 0; gPlayerLastCitySelectionTick[playerid] = GetTickCount(); return 1; }