FindFlagByName Function

Finds a flag by its string name.

bool FindFlagByName(const char[] name, AdminFlag& flag)

Parameters

const char[] name

Flag name (like "kick"), case sensitive.

AdminFlag& flag

Variable to store flag in.

Return Value

True on success, false if not found.