30.12.2010, 16:29
It sends me right back to here:
if(PlayerInfo[playerid][pTut]==0)
{
ShowPlayerDialog(playerid, DIALOGID_TGENDER, DIALOG_STYLE_MSGBOX, "Immigration Office - Gender","Welcome to the immigration office.\n\nImmigration Officer says: You are here to become legal citizen of the Bayside and El Quebrados state.\nImmigration Officer says: You will have to answer a few questions before I can hand you a passport.\nImmigration Officer says: Let's get started, what is your sex?", "Male", "Female");
PlayerInfo[playerid][pCalledTutSay] = 1;
GreenBar[playerid] = CreateProgressBar(152.00, 431.00, 336.50, 13.50, 16716287, 80.0);
ShowProgressBarForPlayer(playerid, GreenBar[playerid]);
SetProgressBarValue(GreenBar[playerid], 5.0);
UpdateProgressBar(GreenBar[playerid], playerid);
TextDrawSetString(Text:RegStep[playerid], "Registration Progress: [1/20]");
TextDrawShowForPlayer(playerid, RegStep[playerid]);
}
SetPlayerVirtualWorld(playerid,playerid);
return 1;
}
if(PlayerInfo[playerid][pTut]==0)
{
ShowPlayerDialog(playerid, DIALOGID_TGENDER, DIALOG_STYLE_MSGBOX, "Immigration Office - Gender","Welcome to the immigration office.\n\nImmigration Officer says: You are here to become legal citizen of the Bayside and El Quebrados state.\nImmigration Officer says: You will have to answer a few questions before I can hand you a passport.\nImmigration Officer says: Let's get started, what is your sex?", "Male", "Female");
PlayerInfo[playerid][pCalledTutSay] = 1;
GreenBar[playerid] = CreateProgressBar(152.00, 431.00, 336.50, 13.50, 16716287, 80.0);
ShowProgressBarForPlayer(playerid, GreenBar[playerid]);
SetProgressBarValue(GreenBar[playerid], 5.0);
UpdateProgressBar(GreenBar[playerid], playerid);
TextDrawSetString(Text:RegStep[playerid], "Registration Progress: [1/20]");
TextDrawShowForPlayer(playerid, RegStep[playerid]);
}
SetPlayerVirtualWorld(playerid,playerid);
return 1;
}