#include <amxmodx>
#include <hamsandwich>
public plugin_init()
{
RegisterHam(Ham_Use, "func_button", "fwd_PressButton");
}
public fwd_PressButton(ent, id)
{
//id = id del player que toco el boton.
//ent = id de la entidad correspondiente al boton.
if( get_user_team(id) == 1 )
//True? Oka era terrorista el forro que toco el boton.
else
//....
}