is this possible to make in dialog?
#8

Here ya go

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/application", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid,1234,DIALOG_STYLE_INPUT,"Application: Step 1","What is Your Name?","Continue","Cancel");
        return 1;
    }
    return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1234)
    {
        if(!response) return SendClientMessage(playerid, 0xFFFFFFFF,"You Have Canceled The Application!");
        //Put ur dini here
        ShowPlayerDialog(playerid,1235,DIALOG_STYLE_INPUT,"Application: Step 2","Wich Car do You Want?","Continue","Cancel");
    }
    if(dialogid == 1235)
    {
        if(!response) return SendClientMessage(playerid,0xFFFFFFFF,"You Have Cancelled The Application!");
       //I dont feel like doing the saving part lol im too lazy
        ShowPlayerDialog(playerid,1236,DIALOG_STYLE_MSGBOX,"Application: Step 3","Do You Have A House","Yes", "No");
    }
    if(dialogid == 1236)
    {
        if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "No House");// DO whatever here if they dont have a house
        //I dun wanna do dini
        ShowPlayerDialog(playerid,1237,DIALOG_STYLE_MSGBOX,"Application: Step 4", "Do You Have Money?", "Yes", "No");
    }
    if(dialogid == 1237)
    {
        if(!response) return SendClientMessage(playerid,0xFFFFFFFF, "No Money"); // Do whatever if they dont have any money
        //No Dini for me
        ShowPlayerDialog(playerid,1238,DIALOG_STYLE_MSGBOX,"Application: Finished", "Thank You For Applying, \nAdministrators Will Review Your Application Shortly.","Okay", "");
    }
    return 1;
}
i suck at dini, get someone else to help you with that
Reply


Messages In This Thread
is this possible to make in dialog? - by GBLTeam - 28.03.2011, 16:00
Re: is this possible to make in dialog? - by antonio112 - 28.03.2011, 16:23
Re: is this possible to make in dialog? - by GBLTeam - 28.03.2011, 16:47
Re: is this possible to make in dialog? - by antonio112 - 28.03.2011, 16:51
Re: is this possible to make in dialog? - by GBLTeam - 28.03.2011, 16:57
Re: is this possible to make in dialog? - by GBLTeam - 28.03.2011, 18:00
Re: is this possible to make in dialog? - by gamer931215 - 28.03.2011, 20:58
Re: is this possible to make in dialog? - by airsoft - 28.03.2011, 21:29
Re: is this possible to make in dialog? - by GBLTeam - 28.03.2011, 22:34
Re: is this possible to make in dialog? - by airsoft - 29.03.2011, 01:12

Forum Jump:


Users browsing this thread: 3 Guest(s)