27.04.2009, 19:37
I appreciate the help friend. But it did not work. 
I got so far to develop this.
This is the latest of yom_buttons inc? http://pastebin.com/m2b9487a9 or that?
http://pastebin.com/m21f9bc89

I got so far to develop this.
Code:
#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; }
http://pastebin.com/m21f9bc89
