Quote:
Originally Posted by Eth
please put it onplayerconnect not onplayerrequestclass
pawn Код:
if(fexist(UserPath(playerid))) { ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Type your password below to login.","Login","Quit"); } else {
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Register","Type your password below to register a new account.","Register","Quit"); }
|
its not the problem the problem is saving on leaving are u checking that he is logged in or not before saving ?