new probleme
#1

hi i have probleme please help
C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(126) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(126) : warning 215: expression has no effect
C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(126) : error 001: expected token: ";", but found "-string-"
C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(126) : warning 215: expression has no effect
C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(126) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sybinfo 56\Desktop\samp\gamemodes\URP.pwn(126) : 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);
error here ------->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,""WHITE"Registering...",""WHITE "Type your password below to register a new account.","Register","Quit");
}
return 1;
}
Reply
#2

Quote:
Originally Posted by mehdi171996
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WH ITE"Type your password below to login.","Login","Quit");
there's a space here: COLOR_WH ITE
it should be COLOR_WHITE

so:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
Reply
#3

pawn Код:
new tmp_str_1[128],
      tmp_str_2[128];

format(tmp_str_1,sizeof(tmp_str),"{FFFFFF}Login:")
format(tmp_str_2,sizeof(tmp_str),"{FFFFFF}Type your password below to login.");

ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,tmp_str_1,tmp_str_2,"Login","Quit");
Reply
#4

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
Reply
#5

Can you tell the 125th line?
Reply
#6

Quote:
Originally Posted by mehdi171996
Посмотреть сообщение
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
why can't you see these spaces, its so obvious!
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
and
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
Reply
#7

i changed it but same probleme lol im not blind
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
the 125 line is ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WH ITE"Type your password below to login.","Login","Quit");
and the space between wh and ite is forum bug
Reply
#8

probleme fixed ty repped
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)