[Ajuda] Yom_Buttons
#8

Olha peguei este code na search, comece a usar mais a search antes de perguntar aqui.

Adapte ao teu sistema

pawn Код:
#include <yom_buttons>
new butao;

butao = CreateButton(244.83, 74.28, 1004.1,0.0,0.0,0.0,true);

public OnPlayerPressButton(playerid, buttonid)
{
  if (buttonid == butao)
  {
    if(gTeam[playerid] == 2)
    {
          SendClientMessage(playerid, COLOR_ALLDEPT, "OK");
        }
    else
    {
          SendClientMessage(playerid, COLOR_ALLDEPT, "NOP");
        }
    return true;
  }

  return false;
}
Reply


Messages In This Thread
[Ajuda] Yom_Buttons - by juandiegox - 22.04.2014, 00:30
Re: [Ajuda] Yom_Buttons - by Fel486 - 22.04.2014, 00:41
Re: [Ajuda] Yom_Buttons - by juandiegox - 22.04.2014, 01:37
Re: [Ajuda] Yom_Buttons - by Fel486 - 22.04.2014, 01:49
Re: [Ajuda] Yom_Buttons - by juandiegox - 22.04.2014, 01:53
Re: [Ajuda] Yom_Buttons - by N3XTMapper - 22.04.2014, 02:01
Re: [Ajuda] Yom_Buttons - by juandiegox - 22.04.2014, 02:11
Re: [Ajuda] Yom_Buttons - by N3XTMapper - 22.04.2014, 02:17
Re: [Ajuda] Yom_Buttons - by juandiegox - 22.04.2014, 02:37
Re: [Ajuda] Yom_Buttons - by N3XTMapper - 22.04.2014, 02:41

Forum Jump:


Users browsing this thread: 1 Guest(s)