Raised This Month: $ Target: $400
 0% 

How to determine game version (L4d1 / L4D2)?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
muukis
Veteran Member
Join Date: Apr 2009
Old 12-07-2009 , 06:07   How to determine game version (L4d1 / L4D2)?
Reply With Quote #1

Hi,

Is there any way to tell in what game server version the plugin is installed, L4D1 or L4D2?
muukis is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-07-2009 , 06:43   Re: How to determine game version (L4d1 / L4D2)?
Reply With Quote #2

GuessSDKVersion should return 40 for L4D and 50 for L4D2.
bl4nk is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-07-2009 , 08:39   Re: How to determine game version (L4d1 / L4D2)?
Reply With Quote #3

Thanks! I'll give it a shot.
muukis is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 12-07-2009 , 09:34   Re: How to determine game version (L4d1 / L4D2)?
Reply With Quote #4

GetGameFolderName might help aswell.
AtomicStryker is offline
Reply



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 15:17.


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