Like this then, this is exactly how it should be used and no diffrent right??:
PHP Code:
public _is_user_rebel(plugin,params)
{
if( is_user_rebel[get_param(1)] )
return 1;
else
return 0;
}
public _set_user_rebel(plugin,params)
{
return is_user_rebel[get_param(1)];
}
public _remove_user_rebel(plugin,params)
{
return !is_user_rebel[get_param(1)];
}
Omfg this is pissing me off...

the is_user_rebel function doesnt work.. it supposedly doesnt return a value?!..
then i tryed it this way:
(is_user_rebel(get_param(1)) ) ? return 1 : return 0
that gave me this error & warning:
Error: Invalid expression, assumed zero on line 407
Warning: Expression has no effect on line 407
Error: Expected token: ";", but found "return" on line 407
__________________