Problem to show next dialog on player SetPlayerSpawn (Editing only to learn)
#8

(in setplayerspawn)
pawn Код:
RegistrationStep[playerid] = 2;
ShowPlayerDialog(playerid,dregister1,DIALOG_STYLE_INPUT,"Error","When is your Birthday? ( DD/MM/YYYY )","Enter","Cancel");
Take a look. You are setting step to 2, then showing the dialog dregister1. Now:
pawn Код:
if(dialogid == dregister1)
{
    if(RegistrationStep[playerid] == 1)
    {
You are checking if dialog has id dregister1 (it has). Next you are checking if registrationstep for player is equal 1. Well, no, it is equal 2 because you've set it to 2 earlier.

#e: Wait, not necessarily this, let me think
#e2: Well, just try changing it and tell me if something changes
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)