Raised This Month: $ Target: $400
 0% 

Game Name Changer


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Bo0m!
Veteran Member
Join Date: Mar 2006
Location: New Jersey
Old 12-05-2006 , 19:14   Re: Game Name Changer
#21

Never!
__________________
Bo0m! is offline
Send a message via AIM to Bo0m! Send a message via MSN to Bo0m! Send a message via Yahoo to Bo0m!
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 12-05-2006 , 20:01   Re: Game Name Changer
#22

all i got to say is

REMIX!!
http://www.youtube.com/watch?v=KcVyeNCiw2w&NR
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-05-2006 , 20:22   Re: Game Name Changer
#23

Get your spam out of my thread.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
BadAim
Senior Member
Join Date: Feb 2006
Location: canada
Old 06-13-2007 , 19:20   Re: Game Name Changer
#24

if we set the filters to search counter-strike, the server will appear in the list? or it will appear only if we select all games?

Last edited by BadAim; 06-13-2007 at 23:46.
BadAim is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-21-2007 , 12:37   Re: Game Name Changer
#25

In the counter-strike list.
ConnorMcLeod is offline
kmal2t
BANNED
Join Date: Apr 2006
Old 06-22-2007 , 19:33   Re: Game Name Changer
#26

Why is this unapproved again? Cuz he's not the original author? While not very complicated it's still a cool function of a plugin i'd say...
kmal2t is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-16-2007 , 03:27   Re: Game Name Changer
#27

I can't manage to make it work on condition zero (works fine on cs1.6...).

-edit-
Works fine indeed :

cs1.6 : works for HLSW and steam servers browser
cs:cz : show 'HL - Condition Zero' on HLSW but works fine in steam servers browser.
-edit-

Last edited by ConnorMcLeod; 08-16-2007 at 03:55. Reason: solved
ConnorMcLeod is offline
v13ttweaker
Member
Join Date: May 2007
Location: Honolulu, HI
Old 11-18-2007 , 17:04   Re: Game Name Changer
#28

Nice Plugin!
__________________



Check Out My Forums!
http://www.setbb.com/azngamerz
v13ttweaker is offline
Send a message via AIM to v13ttweaker
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-24-2007 , 16:37   Re: Game Name Changer
#29

Guess it should be better with pcvar.

PHP Code:
#include <amxmodx>
#include <fakemeta>

#define NAME_LENGH    32

new amx_gamename;

public 
plugin_init() {
    
register_plugin("Game Namer""Version 1.1""NeuroToxin");
    
amx_gamename register_cvar("amx_gamename""Team Fortress Classic");
    
register_forward(FM_GetGameDescription"fwGetGameDescription");
}

public 
fwGetGameDescription() {
    static 
gamename[NAME_LENGH+1];
    
get_pcvar_string(amx_gamenamegamenameNAME_LENGH);
    
forward_return(FMV_STRINGgamename);
    return 
FMRES_SUPERCEDE;

Attached Files
File Type: sma Get Plugin or Get Source (gamenamechanger.sma - 903 views - 509 Bytes)
ConnorMcLeod is offline
i like ham
Junior Member
Join Date: Nov 2007
Old 11-24-2007 , 21:24   Re: Game Name Changer
#30

If I remember correctly, pcvars didn't come around until after this plugin was posted... Also, since this cvar is only accessed or called by this plugin once per map/restart, wouldn't a regular cvar call use less memory?
i like ham is offline
Closed Thread



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 13:37.


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