I also tried this:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <engine>
#define PLUGIN "No Collision"
#define VERSION "1.0"
#define AUTHOR "MihaiGamerXD"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Touch,"player","onCollision")
}
public onCollision(touched,toucher) {
if (get_user_team(touched) == get_user_team(toucher)) {
entity_set_int(touched, EV_INT_solid, SOLID_TRIGGER);
}
else {
entity_set_int(touched, EV_INT_solid, SOLID_BBOX);
}
return HAM_IGNORED;
}
Still doesn't work! It shows an error like "Trigger in clipping list!"! This makes no sense! And I'm playing TFC, not CS!