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

Game Name Changer V.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Emp` (115)
NeuroToxin92
New Member
Join Date: Dec 2005
Location: Hell!!!
Old 12-02-2005 , 18:09   Game Name Changer V.1.1
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (gamenamechanger.sma - 62745 views - 456 Bytes)
__________________
I am the reality!

Last edited by Emp`; 11-25-2007 at 15:56. Reason: v1.1
NeuroToxin92 is offline
Hellspawn
Junior Member
Join Date: Jun 2005
Old 12-02-2005 , 19:04  
Reply With Quote #2

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.
__________________
[img]http://img490.**************/img490/9871/siglink5copy9op34hq.jpg[/img]
Hellspawn is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-03-2005 , 01:11  
Reply With Quote #3

kool
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 12-03-2005 , 03:20  
Reply With Quote #4

This is sweet man, good way to be different. So small but so effecient. Good Job
__________________
bmann_420 is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 12-03-2005 , 03:44  
Reply With Quote #5

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!
Styles is offline
Send a message via AIM to Styles
NeuroToxin92
New Member
Join Date: Dec 2005
Location: Hell!!!
Old 12-03-2005 , 10:36  
Reply With Quote #6

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.
__________________
I am the reality!
NeuroToxin92 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-03-2005 , 11:11  
Reply With Quote #7

Eh.. Isn't that part disabled in the server's list? The part where you select the mod.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 12-03-2005 , 16:19  
Reply With Quote #8

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
__________________
bmann_420 is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 12-17-2005 , 15:15  
Reply With Quote #9

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

BTW: If you want your plugin approved, post the .sma file
__________________
Sig(h)!
Obbin is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-25-2005 , 08:35  
Reply With Quote #10

EDIT:
Moved to unapproved
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Old 01-29-2006, 14:52
Obbin
This message has been deleted by Emp`. Reason: Unrelated.
Old 01-29-2006, 16:58
MaximusBrood
This message has been deleted by Emp`. Reason: Unrelated.
Old 01-31-2006, 03:43
Obbin
This message has been deleted by Emp`. Reason: Unrelated.
Reply


Thread Tools
Display Modes

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


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