Hi,
I'm trying to see if a client is in a group. It's built as a command (!steam) and then it's supposed to reply with 2 alternatives, depending if a client is in the group:
Code:
public Action Cmd_Steamgroup(int client, int args) {
if(SteamWorks_GetUserGroupStatus(client, 103582791432791390)) {
// In the group!
} else {
// Not in the group
}
return Plugin_Handled;
}
However it seems to always say yes, no matter what group ID I enter!
Is this the correct way to use GetUserGroupStatus?
__________________