Raised This Month: $ Target: $400
 0% 

RGB, RGBA, Hex


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-26-2012 , 15:37   Re: RGB, RGBA, Hex
Reply With Quote #10

Quote:
Originally Posted by Powerlord View Post
If you're writing a plugin that may be used on other versions of the game engine (such as L4D or L4D2), you can check the SDK Version.

PHP Code:
if (SOURCE_SDK_EPISODE2VALVE <= GuessSDKVersion() < SOURCE_SDK_LEFT4DEAD)
{
    
// Supports \x07 and \x08 codes

It'd be nice if we had an actual capability for this registered with SourceMod so we could rely on a less hacky method, though.
It would be exactly the same check... just in SourceMod, it doesn't magically know the client supports handling the extra codes.
__________________
asherkin is offline
 



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:24.


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