Raised This Month: $ Target: $400
 0% 

Function Has_Flag Explication


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-23-2011 , 12:18   Re: Function Has_Flag Explication
Reply With Quote #1

Quote:
Originally Posted by . ThePro View Post
Hello Members AlliedModders,
Can anyone explain the use of the function:[B] if (has_flag (id, ""))
amxmisc.inc
Code:
/* Returns true if the user has ANY of the provided flags
 * false if they have none 
 */
stock has_flag(id, const flags[]) 
{
	return (get_user_flags(id) & read_flags(flags));
}
Quote:
Originally Posted by . ThePro View Post
Double Post, Sorry, I did not know the function of the "Quick List".
What is a "Quick List"?
__________________
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 20:44.


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