Raised This Month: $ Target: $400
 0% 

get_user_flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 08-06-2010 , 22:30   Re: get_user_flags
Reply With Quote #1

Quote:
Originally Posted by GXLZPGX View Post
How do I tell if the user DOESN'T have amx_kick access.

get_user_flags(id) != ADMIN_KICK

But that doesn't seem right.
if(!(get_user_flags(id) & ADMIN_KICK))
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-06-2010 , 22:33   Re: get_user_flags
Reply With Quote #2

Quote:
Originally Posted by DarkGod View Post
if(!(get_user_flags(id) & ADMIN_KICK))
Bahaha. Its always the simple things that get me. Thank you.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX 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 00:07.


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