I hate this stupid problem !!!
#2

Suppossing your using dialogs with inputtext, 'response' should be inputtext[0], this is probably the right code.

pawn Код:
if (dialogid == 5)
    {
    new name[MAX_PLAYER_NAME], file[256];

    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file), SERVER_USER_FILE, name);
    if(!response) return Kick(playerid);
    if(inputtext[0] > 15 && inputtext[0] < 76)
      {
         dini_IntSet(file,"Age",response);
    }
    if(inputtext[0] < 16 || inputtext[0] > 75) return SendClientMessage(playerid,COLOR_RED,"[URP] : You have to be at least 16 years old And not oled then 75 old"), ShowPlayerDialog(playerid, 5, DIALOG_STYLE_INPUT, "Please choose your age", "Please enter your age below", "Choose", "Cancel");
     }
Ain't I right?
Reply


Messages In This Thread
I hate this stupid problem !!! - by bijoyekuza - 26.02.2011, 19:19
Re: I hate this stupid problem !!! - by admantis - 26.02.2011, 19:58
Re: I hate this stupid problem !!! - by MadeMan - 26.02.2011, 20:06
Re: I hate this stupid problem !!! - by admantis - 26.02.2011, 20:08
Re: I hate this stupid problem !!! - by bijoyekuza - 26.02.2011, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)