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

Solved [CS:GO] Client in Steam group


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShawnCZek
Member
Join Date: Mar 2017
Location: Czech Republic
Old 07-27-2017 , 09:28   [CS:GO] Client in Steam group
Reply With Quote #1

Hello,
is there a possible way to get if the client is in chosen Steam group? I found some SteamTools, which looks amazing, but I saw it's only for TF2.
Thanks in advance for help.

Last edited by ShawnCZek; 07-30-2017 at 10:13. Reason: Solved
ShawnCZek is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-27-2017 , 09:36   Re: [CS:GO] Client in Steam group
Reply With Quote #2

You can use SteamWorks: https://forums.alliedmods.net/showthread.php?t=229556
For an example plugin that uses SteamWorks to check if player is in group: https://forums.alliedmods.net/showthread.php?p=1830686
hmmmmm is offline
ShawnCZek
Member
Join Date: Mar 2017
Location: Czech Republic
Old 07-27-2017 , 09:55   Re: [CS:GO] Client in Steam group
Reply With Quote #3

Quote:
Originally Posted by hmmmmm View Post
You can use SteamWorks: https://forums.alliedmods.net/showthread.php?t=229556
For an example plugin that uses SteamWorks to check if player is in group: https://forums.alliedmods.net/showthread.php?p=1830686
I can see he uses SteamWorks_GetUserGroupStatus, but I can't see anywhere declaration. So how does it work? Just to download all extensions and the include file and I can use it instantly?
ShawnCZek is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-27-2017 , 18:14   Re: [CS:GO] Client in Steam group
Reply With Quote #4

The server running it needs to have the SteamWorks extension and you need to use the include to create the plugin and use the functions
hmmmmm is offline
ShawnCZek
Member
Join Date: Mar 2017
Location: Czech Republic
Old 07-28-2017 , 11:11   Re: [CS:GO] Client in Steam group
Reply With Quote #5

So I download the extension and used it in my plugin, but the extension doesn't want to load. Every time it writes it was successfully loaded, but when I try to load my plugin, it writes this:
PHP Code:
[SMPlugin failed to loadRequired extension "SteamWorks" file("SteamWorks.ext"not running
And when I use command sm exts list, I can see this:
PHP Code:
[15] <FAILEDfile "SteamWorks.ext.so": .../csgo/addons/sourcemod/extensions/SteamWorks.ext.socannot open shared object fileNo such file or directory 
ShawnCZek is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 07-28-2017 , 14:21   Re: [CS:GO] Client in Steam group
Reply With Quote #6

Quote:
Originally Posted by ShawnCZek View Post
So I download the extension and used it in my plugin, but the extension doesn't want to load. Every time it writes it was successfully loaded, but when I try to load my plugin, it writes this:
PHP Code:
[SMPlugin failed to loadRequired extension "SteamWorks" file("SteamWorks.ext"not running
And when I use command sm exts list, I can see this:
PHP Code:
[15] <FAILEDfile "SteamWorks.ext.so": .../csgo/addons/sourcemod/extensions/SteamWorks.ext.socannot open shared object fileNo such file or directory 
"No such file or directory"
__________________
vortex. is offline
ShawnCZek
Member
Join Date: Mar 2017
Location: Czech Republic
Old 07-30-2017 , 10:12   Re: [CS:GO] Client in Steam group
Reply With Quote #7

Quote:
Originally Posted by vortex. View Post
"No such file or directory"
Yes, I know, but I uploaded it. And I didn't know I must restart the server for it - I thought it works same like plugins that I can load it while the server is running.
Anyway, thanks all for help. It seems it works now.
ShawnCZek is offline
Reply



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 23:21.


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