This is useless, i think:
PHP Code:
if(IsFreeRun == true && get_user_team(idcaller) == 2) {
return FMRES_IGNORED;
Also..
PHP Code:
return PLUGIN_HANDLED;
-->
PHP Code:
return HAM_IGNORED;
And..
PHP Code:
return FMRES_SUPERCEDE;
-->
PHP Code:
return HAM_SUPERCEDE;
And... try using fm_get_user_team( ) or cs_get_user_team( ), cuz get_user_team( ) has some bugs if am not wrong...
__________________