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

little help from the wise ones please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cccpsmiley
Senior Member
Join Date: Mar 2006
Location: Los Angeles, CA
Old 05-01-2007 , 19:00   little help from the wise ones please
Reply With Quote #1

I have seen a few other servers that have changed the game name,
"day of defeat" in the steam browser list to something else.
Is there a plugin to do this or do i need to edit the dod.dll or what.
any help appreciated.
cccpsmiley is offline
Send a message via AIM to cccpsmiley
Defillbert
AMX Mod X Donor
Join Date: Aug 2006
Old 05-01-2007 , 19:16   Re: little help from the wise ones please
Reply With Quote #2

Use the search function, located on the top right of your screen. There are probably many plugin results matching your description (I am sure of this).

Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

public plugin_init()
{
     register_plugin("Game Namer","Version 1.0","NeuroToxin");
     register_cvar("amx_gamename","Your Custom Name Here");
     register_forward(FM_GetGameDescription,"GameDesc");
}

public GameDesc()
{
    new gamename[32];
    get_cvar_string("amx_gamename",gamename,31);
    forward_return(FMV_STRING,gamename);
    return FMRES_SUPERCEDE;
}


Last edited by Defillbert; 05-01-2007 at 19:18. Reason: Added code.
Defillbert 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 23:36.


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