AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   little help from the wise ones please (https://forums.alliedmods.net/showthread.php?t=54690)

cccpsmiley 05-01-2007 19:00

little help from the wise ones please
 
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.

Defillbert 05-01-2007 19:16

Re: little help from the wise ones please
 
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;
}




All times are GMT -4. The time now is 06:36.

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