Raised This Month: $51 Target: $400
 12% 

Solved SteamWorks_GetUserGroupStatus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode