Skip to content

Instantly share code, notes, and snippets.

@Hexer10
Created March 13, 2017 17:03
Show Gist options
  • Save Hexer10/4548addbb8bf0f343ffa2fea03d9290a to your computer and use it in GitHub Desktop.
Save Hexer10/4548addbb8bf0f343ffa2fea03d9290a to your computer and use it in GitHub Desktop.
AdminId admin = GetUserAdmin(client);
if (admin != INVALID_ADMIN_ID)
{
char sGroup[32];
if ((GetAdminGroup(admin, 0, sGroup, sizeof(sGroup)) != INVALID_GROUP_ID))
{
if (StrEqual(sGroup, "PUT GROUP NAME HERE!"))
{
CS_SetClientClanTag(client, "[Vip]");
return;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment