AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get_user_flags (https://forums.alliedmods.net/showthread.php?t=134597)

GXLZPGX 08-06-2010 22:28

get_user_flags
 
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.

DarkGod 08-06-2010 22:30

Re: get_user_flags
 
Quote:

Originally Posted by GXLZPGX (Post 1263847)
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))

GXLZPGX 08-06-2010 22:33

Re: get_user_flags
 
Quote:

Originally Posted by DarkGod (Post 1263849)
if(!(get_user_flags(id) & ADMIN_KICK))

Bahaha. Its always the simple things that get me. Thank you.


All times are GMT -4. The time now is 00:07.

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