Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Question For Admin Support #194

Answered by sapphonie
AndrewM521 asked this question in Q&A
Discussion options

You must be logged in to vote
bool is_player_admin(int client)
{
	/* Todo: I don't know if this is correct. */
	return CheckCommandAccess(client, "", ADMFLAG_GENERIC | ADMFLAG_KICK | ADMFLAG_SLAY, true);
}

If clients have all those flags, they should see detections

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndrewM521
Comment options

Answer selected by sapphonie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants