Help with my registration.
#1

PHP код:
    //DIALOGS!
    
if(dialogid == TUT1)
    {
        if(
response)
        {
            
ShowPlayerDialog(playeridTUT2DIALOG_STYLE_MSGBOX"Step one:""Please state your characters sex. (Male or Female)","Male","Female");
        }
        if(!
response)
        {
            
ShowPlayerDialog(playeridTUT1DIALOG_STYLE_MSGBOX"Welcome to Abandoned Roleplay","Abandoned Roleplay is a heavy roleplay community, breaking the rules will result in a ban.","OK","");
        }
    }
        
    if(
dialogid == TUT2)
    {
        if(
response)
        {
            
PlayerInfo[playerid][pMale] = 1;
            
SendClientMessage(playeridCOLOR_WHITE"[Volt 205] Okay, so you are a Male.");
            
ShowPlayerDialog(playeridTUT3DIALOG_STYLE_INPUT"Step two:","Now, what would your character look like? ((Enter skin ID!))","Confirm","");
        }
        if(!
response)
        {
            
PlayerInfo[playerid][pFemale] = 1;
            
SendClientMessage(playeridCOLOR_WHITE"[Volt 205] Okay, so you are a Female.");
            
ShowPlayerDialog(playeridTUT3DIALOG_STYLE_INPUT"Step two:","Now, what would your character look like? ((Enter skin ID!))","Confirm","");
        }
    
    } 
Ok - My problem is that when I register, it skips to dialog ID 2, not 1. How would I fix this?
Reply


Messages In This Thread
Help with my registration. - by Haxarr - 02.06.2011, 09:53
Re: Help with my registration. - by Haxarr - 02.06.2011, 11:35

Forum Jump:


Users browsing this thread: 1 Guest(s)