View Single Post
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 07-28-2017 , 00:25   Re: Checking if client has a flag
Reply With Quote #6

Quote:
Originally Posted by hmmmmm View Post
Pretty certain it'll work without an actual command being there, look at last 2 parameters: https://sm.alliedmods.net/new-api/co...kCommandAccess

Can also use GetUserAdmin and GetAdminFlags
This will not always work, because a client with flag Root will always mark this boolean as true, i suggest using FlagBits for Checking a single flag is better.
__________________
ambn is offline