REGISTRO Y LOGEO
#2

Код:
public OnPlayerConnect(playerid) 
{ 
    if(fexist(UserPath(playerid))) 
    { 
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); 
          ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"{FFFFFF}Login","{FFFFFF}Type your password below to login.","Login","Quit"); 
    } 
    else 
    { 
         ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{FFFFFF}Registering...","{FFFFFF}Type your password below to register a new account.","Register","Quit"); 
    } 
    return 1; 
}
Reply


Messages In This Thread
REGISTRO Y LOGEO - by Jaua10 - 11.09.2017, 22:48
Respuesta: REGISTRO Y LOGEO - by JhonelBastidas - 12.09.2017, 00:44
Re: REGISTRO Y LOGEO - by Jaua10 - 12.09.2017, 02:34

Forum Jump:


Users browsing this thread: 1 Guest(s)