View Single Post
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 05-15-2018 , 11:45   Re: [HELP] Any way to check admin group?
Reply With Quote #2

Quote:
Originally Posted by kratoss1812 View Post
Hi guys.
Is there any way to store the admin group as a string?

I want to make a plugin compatible with vip core by r1ko.
If Admin Group contains custom flag o the clan tag of the vip will be VIP ADMIN
If contains flag q the clan tag will be VIP MODERATOR

Is there any way how can i check if the client is admin or not?

Thanks!
CheckCommandAccess(int client, const char[] command, int flags, bool override_only=false)

Set the override_only boolean to true if you only want to check for the flag and not the command access.

Last edited by ThatKidWhoGames; 05-15-2018 at 11:45.
ThatKidWhoGames is offline