All fine but there is only one problem left, when I try to compile the plugin, it gives me error. I tried like this:
PHP Code:
public your_function( )
{
if( !( get_user_flags( id ) & "b" ) )
{
client_print( id, print_chat, " NO ACCESS" )
}
else
{
//Your code
}
}
And the error is:
error 033: array must be indexed (variable "-unknown-")
Than I tried like this:
PHP Code:
public your_function( )
{
if( !( get_user_flags( id ) & b ) )
{
client_print( id, print_chat, " NO ACCESS" )
}
else
{
//Your code
}
}
And the error is:
error 017: undefined symbol "b"
__________________