24.06.2012, 19:11
Just thinking out loud here..
Why would format a string when you don't even use wildcards?
OnDialogResponse:
Show the context of the first line, maybe the problem is caused by something in there?
Why would format a string when you don't even use wildcards?
pawn Код:
ShowPlayerDialog(playerid, REGISTRATION1,DIALOG_STYLE_MSGBOX,"Government(U.S. Registration) - Account Sex Management","Please select your new sex that you want to change to:","Male","Female");
pawn Код:
if(dialogid == REGISTRATION1)
{
if(response)
{
PlayerInfo[playerid][pSex] = 1;
SendClientMessage(playerid,COLOR_GRAD3,"You are now a Male");
}
else
{
PlayerInfo[playerid][pSex] = 2;
SendClientMessage(playerid,COLOR_GRAD3,"You are now a Female");
}
ShowPlayerDialog(playerid, REGISTRATION2,DIALOG_STYLE_INPUT,"Government(U.S. Registration) - Account Age Management","Please input your age, make sure you are 17 or older:","Ok","Back");
SavePlayerData(playerid);
}