Verification Age
#6

Simply do this:

pawn Код:
//top of script
new PlayerAge[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Age", "Please define your age below:", "Ok", "Cancel");
    return 1;
}

public OnDialogResponse(playerid, dialogid, ...)
{
    if(dialogid == 1)
    {
        if(response)
        {
            PlayerAge[playerid] = strval(inputtext);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Verification Age - by cristip - 17.04.2013, 09:46
Re: Verification Age - by HurtLocker - 17.04.2013, 09:48
Re: Verification Age - by cristip - 17.04.2013, 09:53
Re: Verification Age - by iGetty - 17.04.2013, 10:17
Re: Verification Age - by cristip - 17.04.2013, 11:01
Re: Verification Age - by iGetty - 17.04.2013, 11:19
Re: Verification Age - by cristip - 17.04.2013, 11:25
Re: Verification Age - by MarioVPS - 17.04.2013, 11:28
Re: Verification Age - by iGetty - 17.04.2013, 11:30

Forum Jump:


Users browsing this thread: 1 Guest(s)