AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   operating system info (https://forums.alliedmods.net/showthread.php?t=303426)

dangerlord63 12-06-2017 14:12

operating system info
 
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?

Fyren 12-06-2017 17:56

Re: operating system info
 
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.


All times are GMT -4. The time now is 18:58.

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