Searching for a plugin or help? you can find it here
Post Reply
Game Name Changer
Author
nutu.
Community Owner
User avatar
Joined: 25 Dec 2019, 19:54
Posts: 854
Location: NETFLIX
Occupation: watching netflix
Has thanked: 24 times
Been thanked: 45 times
Message
Plugin Name: Game Name Changer
Plugin Author: NeuroToxin
Plugin Version: v1.1

Description: This plugins allows you to change the name of the game in the server list like from Counter-Strike to anything you want.
How to use: In server.cfg, put amx_gamename "Put Name Here"
Download:

Code: Select all

#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; 
}  

a simple act of carrying creates an endless ripple
kerasseN
Banned user
Joined: 15 Feb 2020, 20:35
Posts: 9
Location: United Kingdom
Occupation: AMXX Scripting / School
Been thanked: 1 time
Nice !
Image
Post Reply