Hello, please help what i'm doing wrong, this should make the custom created ent SOLID_NOT for TERRORIST team players, yet it stais SOLID_BBOX
PHP Code:
public fw_AddToFullPack_Post(es_handle, e, ent, host, flags, player, pSet) {
if( host == ent || !pev_valid(ent) || !is_user_alive(host)){
return FMRES_IGNORED;
}
new classname[32];
pev(ent, pev_classname, classname, 32)
if(equal(classname, "walkguardzone") && get_user_team(host) == 1){
set_es(es_handle, ES_Solid, SOLID_NOT);
}
return FMRES_IGNORED;
}
sorry for my poor code and english, im a beginner