Raised This Month: $321 Target: $400
 80%   Almost there!

operating system info

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Senior Member
Join Date: Aug 2011
Old 12-06-2017 , 14: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 14:12.
dangerlord63 is offline
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 12-06-2017 , 17: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 18:44.

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