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
#2

This is the vital part of my GM, I really can't figuire it out. Please help.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)