Raised This Month: $ Target: $400
 0% 

Checking for several flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-12-2015 , 14:16   Re: Checking for several flags
Reply With Quote #1

There's also the has_flag() stock. Essentially it encapsulates Bugsy's method.

http://www.amxmodx.org/api/amxmisc/has_flag

Alternately, if you want them to have all the flags specified:

http://www.amxmodx.org/api/amxmisc/has_all_flags
__________________

Last edited by Brad; 03-12-2015 at 14:17.
Brad 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 16:39.


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