AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Game Name Changer V.1.1 (https://forums.alliedmods.net/showthread.php?t=21484)

NeuroToxin92 12-02-2005 18:09

Game Name Changer V.1.1
 
2 Attachment(s)
Change the name of the game in the server list like from Counter-Strike to Super-Strike.

Code:

#include <amxmodx>
#include <fakemeta>

new amx_gamename;
public plugin_init( ) {
        register_plugin( "Game Namer", "1.1", "NeuroToxin" );
        amx_gamename = register_cvar( "amx_gamename", "Team Fortress Classic" );
        register_forward( FM_GetGameDescription, "GameDesc" );
}
 
public GameDesc( ) {
        static gamename[32];
        get_pcvar_string( amx_gamename, gamename, 31 );
        forward_return( FMV_STRING, gamename );
        return FMRES_SUPERCEDE;
}

[img]http://img139.**************/img139/7421/gamenameshotdj5.jpg[/img]

How to use:
In server.cfg, put amx_gamename "Put Name Here"

Also you must activate FakeMeta or this will NOT work.


-NeuroToxin :twisted:

Hellspawn 12-02-2005 19:04

Ok works . It displays the modified game name on the dedicated server window and also when you are looking for games via the mod that your server is based on.

Works 100% well but i think that it has been done before but anyway its good and it will help servers that want attention and want to display their plugins for example
Counter-Strike-Warcraft Mod

Very Good plugin well done.

SweatyBanana 12-03-2005 01:11

kool

bmann_420 12-03-2005 03:20

This is sweet man, good way to be different. So small but so effecient. Good Job

Styles 12-03-2005 03:44

Next one hesgoing to do is the player slots. make the max w/e u want (just looks that way!)

But nice plugin +karma 4 u!

NeuroToxin92 12-03-2005 10:36

thank you thank you youre all to kind!!! this is my first plugin, but i hope it gets approved. i tried posting it a few months ago as darkblade, but it had bugs. this is the non-beta version. hope yall enjoy it! PS: can someone show me what their TFC server.cfg looks like, i dont like usin the one in the team fortress classic folder.

v3x 12-03-2005 11:11

Eh.. Isn't that part disabled in the server's list? The part where you select the mod.

bmann_420 12-03-2005 16:19

It works, and IF you could do the currentplayers/maxplayers, dam that would be dope. lol But it might have as much negatives as positives tho

Obbin 12-17-2005 15:15

W00t!! So nice plugin, i just love this!

BTW: If you want your plugin approved, post the .sma file

EKS 12-25-2005 08:35

EDIT:
Moved to unapproved


All times are GMT -4. The time now is 15:05.

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