View Single Post
Author Message
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 05-17-2020 , 11:09   SteamWorks_GetUserGroupStatus
Reply With Quote #1

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?
__________________

Last edited by condolent; 05-18-2020 at 15:35.
condolent is offline