Hello, in need of help with y_ini
#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,"Login"," Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Registering...","Type your password below to register a new account.","Register","Quit");
}
return 1;
}
Reply


Messages In This Thread
Hello, in need of help with y_ini - by Razor_Sebi - 01.04.2016, 16:51
Re: Hello, in need of help with y_ini - by introzen - 01.04.2016, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)