#include <amxmodx> #include <cstrike> #include <engine> public plugin_init() { register_touch("player","player","hook_touch"); } public hook_touch(toucher,touched) { if(cs_get_user_team(toucher) != cs_get_user_team(touched)) { //... } }