[Ajuda] Dialog
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
    if(!strcmp(inputtext, "500", true))
    {
        GivePlayerMoney(playerid,500);
        SendClientMessage(playerid, 0x00FF40AA, "Ganhaste 500$!");
    }

    else
    {
      SendClientMessage(playerid, 0x00FF40AA, " Burro nгo ganhaste 500$!");
      return 1;
    }
  }
  return 1;
}
meio estranho mais funcionou oO
Reply


Messages In This Thread
[Ajuda] Dialog - by russo666 - 25.04.2010, 22:54
Re: [Ajuda] Dialog - by Brunin_OwnZ - 26.04.2010, 02:05
Re: [Ajuda] Dialog - by russo666 - 26.04.2010, 09:48

Forum Jump:


Users browsing this thread: 3 Guest(s)