Raised This Month: $ Target: $400
 0% 

Help me tag mistach


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skatzfz
Senior Member
Join Date: Apr 2014
Old 06-19-2014 , 23:29   Re: Help me tag mistach
Reply With Quote #1

I want to check if he don't have the flag, can you help me to do it?
skatzfz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-19-2014 , 23:39   Re: Help me tag mistach
Reply With Quote #2

You can do this

PHP Code:
if( ~get_user_flags(id) & ADMIN_RESERVATION )
{
    
// User does not have the reservation flag

or this:

PHP Code:
if( !(get_user_flags(id) & ADMIN_RESERVATION) )
{
    
// User does not have the reservation flag

__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode