AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   detecting server operating system (https://forums.alliedmods.net/showthread.php?t=255159)

aron9forever 01-11-2015 10:25

detecting server operating system
 
Is there any amxx method of detecting the operating system of the server?
No need for specific stuff, just need to be able to differentiate between linux and windows


if nothing better is posted then I'll just fileexists .so and .dll and go from there

klippy 01-11-2015 10:29

Re: detecting server operating system
 
https://www.amxmodx.org/api/amxmodx/is_linux_server

aron9forever 01-11-2015 10:31

Re: detecting server operating system
 
Quote:

Originally Posted by KliPPy (Post 2247801)

http://i.imgur.com/aMinFH7.png

thanks for pointing me in the right direction tho, https://translate.google.ro/translat...-text=&act=url

klippy 01-11-2015 12:46

Re: detecting server operating system
 
Quote:

Originally Posted by aron9forever (Post 2247804)

Well, I have no idea about that, it loads perfectly fine for me. It is AMXX official documentation site.
You're welcome.

aron9forever 01-11-2015 18:38

Re: detecting server operating system
 
Quote:

Originally Posted by KliPPy (Post 2247869)
Well, I have no idea about that, it loads perfectly fine for me. It is AMXX official documentation site.
You're welcome.

changed https to http and worked


All times are GMT -4. The time now is 15:20.

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