Raised This Month: $ Target: $400
 0% 

The operating system of server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MasterMind420
BANNED
Join Date: Nov 2010
Old 08-14-2018 , 21:53   Re: The operating system of server
Reply With Quote #5

Quote:
Originally Posted by psychonic View Post
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?
I know that if I wanted to I could use OS detection to merge L4D2 Thirpersonshoulder Shotgun Sound Fix. I think using EmitGameSoundToClient on windows caused crashes so I made two versions one for windows which uses EmitSoundToClient and linux which uses EmitGameSoundToClient. On a side not original poster the server_spawn event in the documentation says WIN32 or LINUX nothing about MAC so if this does indeed detect it then it would be better to use your function if someone has need for that.
MasterMind420 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 23:32.


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