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

operating system info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dangerlord63
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 ?
how?
and where can i get metamod or sourcemod extension scripting documentation?

Last edited by dangerlord63; 12-06-2017 at 14:12.
dangerlord63 is offline
Fyren
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
Reply


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 09:46.


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