Raised This Month: $120 Target: $400

operating system info

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Senior Member
Join Date: Aug 2011
Old 12-06-2017 , 15:12   operating system info
Reply With Quote #1

Hi guys,

can i get operating system data(i.e. centos, ubuntu, windows server r2, etc.) using metamod plugin, or sm extension ?
and where can i get metamod or sourcemod extension scripting documentation?

Last edited by dangerlord63; 12-06-2017 at 15:12.
dangerlord63 is online now
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 12-06-2017 , 18:56   Re: operating system info
Reply With Quote #2

You wouldn't use MM:S or SM to get that info. Linux provides uname and Windows provides GetVersionEx.

There is some documentation on the wiki about their APIs, but the headers are frankly more useful. They don't provide game-related functionality like the SM scripting API does.
Fyren is offline

Thread Tools
Display Modes

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 17:52.

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