age set
#1

Hey guys. I try to make my age setted with dialogs
IT has no effect. What's wrong?

pawn Код:
if(dialogid == 4)
    {
        if(!response)
        {
        ShowPlayerDialog(playerid,5,DIALOG_STYLE_INPUT,"Age","Alright alright.\nHow old are you ma'm?","Continue","");
        PlayerInfo[playerid][pGender] = 2;
        }
        else
        {
        ShowPlayerDialog(playerid,5,DIALOG_STYLE_INPUT,"Age","Alright alright.\nHow old are you man?","Continue","");
        PlayerInfo[playerid][pGender] = 1;
        }
    }
   
    if(dialogid == 5)
    {
        PlayerInfo[playerid][pAge] = inputtext[34];
        if(PlayerInfo[playerid][pAge] <18) ShowPlayerDialog(playerid,5,DIALOG_STYLE_INPUT,"Age","Age must be above 18","Continue","");
    }
Reply


Messages In This Thread
age set - by bartje01 - 22.06.2011, 19:03
Re: age set - by bartje01 - 22.06.2011, 21:10
Re: age set - by Babul - 22.06.2011, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)