23.10.2011, 09:09
Erhm...trying to make dialogs for registering and login..but I have hit a wall..
I keep getting error 001: expected token: "-string end-", but found "-identifier-"
from these lines:
I honestly dont see whats wrong with that...give me a little hand please
I keep getting error 001: expected token: "-string end-", but found "-identifier-"
from these lines:
pawn Код:
format(string, sizeof(string), "/sAccounts/%s.ws", player);
if(fexist(string))
{
SendClientMessage(playerid, COLOR_LBLUE, "You are registered, login to retrieve your account");
ShowPlayerDialog(playerid,56, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Register","Quit");
}
else
{
SendClientMessage(playerid,COLOR_LBLUE,"Your account isn't registered, please register");
ShowPlayerDialog(playerid,55, DIALOG_STYLE_INPUT,""COLOR_WHITE"Register",""COLOR_WHITE"Type your password below to register a new account.","Register","Quit");
}
![Smiley](images/smilies/smile.png)