somethig like that:
Code:
#include <amxmodx>
#include <cstrike>
#include <engine>
public plugin_init() {
register_touch("ent","player","for_touch");
}
public for_touch(toucher,touched)
{
new CsTeams:touc = cs_get_user_team(toucher)
new CsTeams:toucd = cs_get_user_team(touched)
if( (touc == CS_TEAM_CT) && (toucd == CS_TEAM_T))
{
// bla bla
}
}