Thread
:
Checking if client has a flag
View Single Post
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
07-28-2017 , 00:25 Re: Checking if client has a flag
#
6
Quote:
Originally Posted by
hmmmmm
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.
__________________
Currently Working On:
None
-------------------------------------
[CS:GO] PlayerSkin (With Flag Support)
[CS:GO] Retakes 2vs2 Edition
[CS:GO] JailBreak Advance
[CS:GO] Custom Music-Kits
Server Update Automation
Linux
/
Windows
My Steam Profile
My Plugins
ambn
View Public Profile
Send a private message to ambn
Find More Posts by ambn