removing the login/register dialog... -
iThePunisher - 19.02.2014
i want to remove the dialog register/login but i want to save the accounts
pawn Код:
stock LogPlayer(playerid)
{
new string[100];
format(string, 100, "Welcome to the server, %s\nPlease login before you spawn", PlayerName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Please Login", string, "Login", "Cancel");
}
stock RegisterPlayer(playerid)
{
new string[100];
format(string, 100, "Welcome to the server, %s\nPlease register your player name with a password below", PlayerName(playerid));
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Please Register", string, "Register", "Cancel");
}
Re: removing the login/register dialog... -
Golimad - 19.02.2014
pawn Код:
stock LogPlayer(playerid)
{
new string[100];
format(string, 100, "Welcome to the server, %s\nPlease login before you spawn", PlayerName(playerid));
}
stock RegisterPlayer(playerid)
{
new string[100];
format(string, 100, "Welcome to the server, %s\nPlease register your player name with a password below", PlayerName(playerid));
}
Re: removing the login/register dialog... -
iThePunisher - 19.02.2014
Wtf now accounts wont register man -_-
i want to remove the dialog register/login
but i want accounts to get saved
anyone will help?
Re: removing the login/register dialog... -
iThePunisher - 19.02.2014
can anyone tell me if this is imposible
Re: removing the login/register dialog... -
Clad - 19.02.2014
Make /register command
Re: removing the login/register dialog... -
brunox - 19.02.2014
go on OnDialogResponse, you will find what the dialog is doing there!
Re: removing the login/register dialog... -
Clad - 19.02.2014
Brunox he wants to remove it, I don't see why he would use OnDialogReponse, he wrote it & he know it very well
Re: removing the login/register dialog... -
iThePunisher - 19.02.2014
i want to remove it because i have one /register command for my gamemode
and i dont want to have one login/register with dialog and another one with /register cmd
i want to remove the one with dialog and keep the other with cmd /register.
Re: removing the login/register dialog... -
Clad - 19.02.2014
So delete that and use your /register command
P.S : Keep Dialog better than using command
Re: removing the login/register dialog... -
Lidor124 - 19.02.2014
Look for (dialogid == DIALOG_REGISTER) there your register codes