[Ajuda] Yom_Buttons
#10

Nossa mano nгo acredito nisso -.- acabei de falar para vocк adaptar ao teu GM , no caso vocк mudaria

pawn Код:
butao = CreateButton(244.83, 74.28, 1004.1,0.0,0.0,0.0,true);

Por isto -.-

pawn Код:
BotonGarageSAPD = CreateButton(1582.1511,-1636.8749,14.0432, 90.0);
Caramba mano, leia mais o que a gente fala, adapte ao teu gamemode ou fs, as variбveis e tal, que darб certo.

No caso vou ter que dar o code pq... -.-

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

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

public OnPlayerPressButton(playerid, buttonid)
{
  if (buttonid == BotonGarageSAPD)
  {
    if(gTeam[playerid] == 2)
    {
          SendClientMessage(playerid, -1, "OK");
        }
    else
    {
          SendClientMessage(playerid, -1, "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: 5 Guest(s)