04.04.2013, 13:41
Try changing them around then eg.
pawn Код:
if(dialogid == DIALOG_GENDER)
{
if(!response)
{
SendClientMessage(playerid, GREY, "Please select 'Male' or 'Female' ");
ShowPlayerDialog(playerid, DIALOG_GENDER, DIALOG_STYLE_LIST, "Are you a male or a female?","Male\nFemale","Next","Quit");
}
else if(response)
{
switch(listitem)
{
case 0:
{
SendClientMessage(playerid, GREY, "So, you are a female.");
PlayerStat[playerid][Gender] = 0;
PlayerStat[playerid][LastSkin] = 191;
ShowPlayerDialog(playerid, DIALOG_AGE, DIALOG_STYLE_INPUT, "How old are you?", "Input your age below.", "Next", "Quit");
}
case 1:
{
SendClientMessage(playerid, GREY, "So, you are a male.");
PlayerStat[playerid][Gender] = 1;
PlayerStat[playerid][LastSkin] = 50;
ShowPlayerDialog(playerid, DIALOG_AGE, DIALOG_STYLE_INPUT, "How old are you?", "Input your age below.", "Next", "Quit");
}
}
}
}