Raised This Month: $51 Target: $400
 12% 

[HL2DM] SDKHooks OnGetGameDescription


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hazukiy
Member
Join Date: Jul 2009
Location: England
Old 07-21-2018 , 07:03   [HL2DM] SDKHooks OnGetGameDescription
Reply With Quote #1

So I've recently come back to doing some Sourcemod coding and I'm trying to change the GameInfo/Description for my Half-life 2: Deathmatch server. Based on the API, the code below should work, however, it doesn't. Is there some kind of restriction to the game I'm targeting? Always something I've wondered so help/suggestions would be appreciated, thanks!

PHP Code:
public Action:OnGetGameDescription(String:gameDesc[64])
{
    
Format(gameDescsizeof(gameDesc), GameInfo);
    
PrintToServer("[ECON] Game Description set");
    return 
Plugin_Handled;


Last edited by hazukiy; 07-21-2018 at 07:21.
hazukiy 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 18:35.


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