removing the login/register dialog...
#1

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");
}
Reply
#2

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));
   
}
Reply
#3

Wtf now accounts wont register man -_-
i want to remove the dialog register/login
but i want accounts to get saved
anyone will help?
Reply
#4

can anyone tell me if this is imposible
Reply
#5

Make /register command
Reply
#6

go on OnDialogResponse, you will find what the dialog is doing there!
Reply
#7

Brunox he wants to remove it, I don't see why he would use OnDialogReponse, he wrote it & he know it very well
Reply
#8

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.
Reply
#9

So delete that and use your /register command
P.S : Keep Dialog better than using command
Reply
#10

Look for (dialogid == DIALOG_REGISTER) there your register codes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)