[Ajuda] Dialog
#1

PHP код:
#define TUTORIAL 1
CMD:tutorial(playerid)
{
    
ShowPlayerDialog(playeridTUTORIALDIALOG_STYLE_LIST"Tutoriais""Ver Tutorial\nRegras""Selecionar""Cancelar");
    return 
1;
}
no OnDialogResponse:
    if(
dialogid == TUTORIAL)
    {
       if(
response == 0)
       {
       
format(strsizeof(str), "© Bem vindo a agкncia de Empregos %s\n© Aqui vocк pode ter um Emprego Prуprio\n© E com o Seu Emprego Vocк ganharб Dinheiro"PlayerName(playerid));
       
ShowPlayerDialog(playeridTUTORIALDIALOG_STYLE_MSGBOX"Agкncia de Empregos"str"Ok""Kick");
       }
    } 
Para a Dialog aparecer eu tenho que clicar em cancelar no Tutorial.. Que que ta dando de errado ? Wtf
Reply


Messages In This Thread
Dialog - by GuiKommander - 16.01.2018, 12:47
Re: Dialog - by FerrariL - 16.01.2018, 12:49
Re: Dialog - by GuiKommander - 16.01.2018, 12:50
Re: Dialog - by FerrariL - 16.01.2018, 12:52
Re: Dialog - by GuilhermeW - 16.01.2018, 12:52
Re: Dialog - by GuiKommander - 16.01.2018, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)