Checking if player is a member of group?

47 views
Skip to first unread message

Selim Nahimi

unread,
May 7, 2016, 2:53:43 PM5/7/16
to Steam Condenser
Hello everyone!

I want to make a PHP script to check if the user is a member of my group, but I just can't seem to figure it out.
Any ideas?

Sebastian Staudt

unread,
May 7, 2016, 3:02:08 PM5/7/16
to Steam Condenser
Hi.

There’s SteamId#getGroups() to get all groups of a user.
If you only want to check a single group, you’re probably better off loading the group (SteamGroup) and check if the player (i.e. the Steam ID) is member of the group.

Best regards,
    Sebastian

--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/a25cadc4-1a4c-4f22-9a0b-9af50becd162%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages