[Ajuda] ABASTECER
#3

Код:
#define DIALOG_NADA 27

//Seucomando
{
    ShowPlayerDialog(playerid, DIALOG_NADA, DIALOG_STYLE_MSGBOX, "SeuText", "Apenas Escolha!,"Armas", "Drogas");
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if (dialogid == DIALOG_NADA)
{
        if(response)
        {
              //o que acontece
                //Opзгo Armas
        }
        else
        {
                //o que acontece
              //Opзгo Drogas
        }    
    }
    return 1;
}
Reply


Messages In This Thread
ABASTECER - by Dimbalada - 01.06.2017, 02:00
Re: ABASTECER - by zCyan - 01.06.2017, 02:07
Re: ABASTECER - by DarkBr - 01.06.2017, 02:13
Re: ABASTECER - by Dimbalada - 01.06.2017, 03:03
Re: ABASTECER - by zCyan - 01.06.2017, 11:46

Forum Jump:


Users browsing this thread: 1 Guest(s)