PHP Code:
public your_function( )
{
if( !( get_user_flags( id ) & /*VIP_FLAGS*/ ) )
{
client_print( id, print_chat, " NO ACCESS" )
}
else
{
//Your code
}
}
or
PHP Code:
public your_function( )
{
if( ( get_user_flags( id ) & /*VIP_FLAGS*/ ) )
{
//Your code
}
else
{
client_print( id, print_chat, " NO ACCESS" )
}
}
I hope this helps.
__________________