Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == JFS) // Dialog definido
- {
- if(response == 0) // Botão Que Fica a Direita Ou Seja " Sair ".
- {
- // Coloque Aqui as Funções ao Apertar " Sair ".
- SendClientMessage(playerid, 0xF68E00F6, " Você Saiu :C");
- }
- if(response == 1) // Lado Esquerdo Ou Seja " Proximo "
- {
- // Coloque Aqui as Funções ao Clickar " Proximo ", Quando Ele Clickar Proximo Vamos Fazer Abrir Outro MSGBOX.
- SendClientMessage(playerid, 0xF68E00F6, " Você Foi Para Parte 2/2 !");
- ShowPlayerDialog(playerid, JFS+1, DIALOG_STYLE_MSGBOX," Regras Avançado - 2/2 "," É Proibido o Uso de Hacker\nNão Peça Para Ser Administrador.\n Nunca Mate Sua Mãe","Fim","");
- // Só Para Lembrar no Final Está Apenas UM Botão, Estao Apenas Usamos Response, Não Precisa por == 0.
- // é tá JFS+1 é So Para Não Definir Denovo ai Da Para Acrescentar +1,+2,+3,+4...
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement