The operating system of server
PHP Code:
|
Re: The operating system of server
Just an fyi...There is a generic sourcemod event u can hook that will allow u to get the servers operating system with a lot less code. server_start i believe...but not 100 sure on the event name.
|
Re: The operating system of server
Addendum to what MasterMind said https://wiki.alliedmods.net/Generic_...s#server_spawn.
Though im not sure if over the years OSX got added. |
Re: The operating system of server
Unless there's some major API gap, you shouldn't need to care what OS is from SourceMod. May I ask what the use case is?
|
Re: The operating system of server
Quote:
|
Re: The operating system of server
Should it not return the OS as opposed to bool result? If I was to code this, I would rather have a function that can get the os name without providing any parameter.
|
Re: The operating system of server
Quote:
|
Re: The operating system of server
Quote:
|
Re: The operating system of server
Quote:
|
Re: The operating system of server
Quote:
|
All times are GMT -4. The time now is 08:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.