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

Game Name Changer V.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
HuTcH
Member
Join Date: Aug 2005
Location: Denmark
Old 01-31-2006 , 13:48  
Reply With Quote #11

Yaya, I've been looking for this for soooo long!
__________________
HuTcH is offline
Send a message via MSN to HuTcH
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 11-25-2007 , 15:35   Re: Game Name Changer V.1.1
Reply With Quote #12

Approved and Updated.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
cs1.6
Senior Member
Join Date: Dec 2006
Old 11-26-2007 , 23:38   Re: Game Name Changer V.1.1
Reply With Quote #13

Hi,

what's the difference to v 1.0?

thanks,

cs
cs1.6 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-27-2007 , 20:36   Re: Game Name Changer V.1.1
Reply With Quote #14

Quote:
Originally Posted by cs1.6 View Post
what's the difference to v 1.0?
Use of pcvar and static... (basically it's just optimized a little)
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
cs1.6
Senior Member
Join Date: Dec 2006
Old 11-27-2007 , 20:44   Re: Game Name Changer V.1.1
Reply With Quote #15

oh.. thanks
cs1.6 is offline
YaMaKaSi92
Member
Join Date: Nov 2007
Location: Poland
Old 01-04-2008 , 16:23   Re: Game Name Changer V.1.1
Reply With Quote #16

Nice ! Good JOB !
YaMaKaSi92 is offline
Send a message via Skype™ to YaMaKaSi92
Michael_a90
Junior Member
Join Date: Dec 2007
Old 01-30-2008 , 14:56   Re: Game Name Changer V.1.1
Reply With Quote #17

It isnt Working on my server. Can eny1 help?
Michael_a90 is offline
Dav3
Senior Member
Join Date: Apr 2006
Location: Dust2
Old 03-05-2008 , 17:07   Re: Game Name Changer V.1.1
Reply With Quote #18

Is this possible without this plugin? Eg, I found a gamename string in liblist.gam ...
Dav3 is offline
Send a message via MSN to Dav3 Send a message via Skype™ to Dav3
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 04-09-2008 , 20:45   Re: Game Name Changer V.1.1
Reply With Quote #19

Hey just asking, Anyway to make it so the script changes the gamename (Without a cvar needed)? No reason just wondering, I'm curious.

Thanks.
__________________
Thanks,
Terrum.


terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-10-2008 , 18:22   Re: Game Name Changer V.1.1
Reply With Quote #20

Quote:
Originally Posted by terrum View Post
Hey just asking, Anyway to make it so the script changes the gamename (Without a cvar needed)? No reason just wondering, I'm curious.

Thanks.
Like so:
Code:
#include <amxmodx>
#include <fakemeta>

#define GAME_NAME "Team Fortress Classic"

public plugin_init( ) { 
	register_plugin( "Game Namer", "1.1cvarless", "NeuroToxin" ); 
	register_forward( FM_GetGameDescription, "GameDesc" ); 
}
 
public GameDesc( ) { 
	forward_return( FMV_STRING, GAME_NAME ); 
	return FMRES_SUPERCEDE; 
}
or you could go without the define and just place the string inside the native like so (though it does the same thing):
Code:
forward_return( FMV_STRING, "Team Fortress Classic" );
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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 14:41.


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