[DUV] Dialog Box
#10

valew cara, sу faltou colocar o #include <a_samp> no topo, agora tб tudo certo, sу ainda с testei no sv, mas quando testar eu aviso!

AI ESTБ O DEFINITIVO!

Code:
#include <a_samp>
#define DIALOG_WELCOME 624
public OnPlayerConnect(playerid)
{
  ShowPlayerDialog(playerid,DIALOG_WELCOME,DIALOG_STYLE_MSGBOX,"BEM VINDO!","Seja bem vindo  ao servidor ... \nRespeite os outros players e os administradores \nSiga as regras, ou vocк poderб ser punido","OK","SAIR");
  return 1;
}

public OnDialogResponse(playerid,dialogid,response)
{
  if(dialogid == DIALOG_WELCOME && response == 0)
  {
    SendClientMessage(playerid,0xFF0000AA,"Vocк foi kickado por escolher a opзгo SAIR no dialog welcome.");
    Kick(playerid);
  }
  if(dialogid == DIALOG_WELCOME && response == 1)
  {
    SendClientMessage(playerid,0x00FF00AA,"Agora vocк pode jogar.");
  }
  return 1;
}
Reply


Messages In This Thread
[DUV] Dialog Box - by Ambrуsio - 23.01.2010, 13:01
Re: [DUV] Dialog Box - by Caio_Cartaxo - 23.01.2010, 13:09
Re: [DUV] Dialog Box - by Ambrуsio - 23.01.2010, 13:12
Re: [DUV] Dialog Box - by [O_o]Davidovich - 23.01.2010, 13:42
Re: [DUV] Dialog Box - by Ambrуsio - 23.01.2010, 14:02
Re: [DUV] Dialog Box - by [O_o]Davidovich - 23.01.2010, 14:03
Re: [DUV] Dialog Box - by Caio_Cartaxo - 23.01.2010, 14:08
Re: [DUV] Dialog Box - by Ambrуsio - 23.01.2010, 14:35
Re: [DUV] Dialog Box - by [O_o]Davidovich - 23.01.2010, 14:55
Re: [DUV] Dialog Box - by Ambrуsio - 23.01.2010, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)