Raised This Month: $ Target: $400
 0% 

Visible admin names in server says


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-12-2005 , 17:28   Visible admin names in server says
Reply With Quote #1

Is there a config that I can edit to keep the admin name from appearing in all server say messages? If so, what would I change? I still want admin commands to show admin names, just not tsay and csays. Basically to have it back to the way AMX functioned with server says. Thanks for any advice.
Trip~Hazard is offline
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 01-12-2005 , 17:41  
Reply With Quote #2

So you want everything like commands to show who did it, but remove the names from TSAYs and CSays and such?

Well..I was going to give you the solution but it's not as easy as AMX, as I had thought. I'll keep looking though..
__________________
f1del1ty.oXi is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-12-2005 , 22:03  
Reply With Quote #3

adminchat.sma, lines 227-236:

Code:
if ( get_cvar_num("amx_show_activity") == 2 ){   show_hudmessage(0,"%s :   %s",name,message[length])   client_print(0,print_notify,"%s :   %s",name,message[length])   console_print(id,"%s :   %s",name,message[length]) } else{   show_hudmessage(0,message[length])   client_print(0,print_notify,message[length])   console_print(id,message[length]) }

Change this to:

Code:
/*if ( get_cvar_num("amx_show_activity") == 2 ){   show_hudmessage(0,"%s :   %s",name,message[length])   client_print(0,print_notify,"%s :   %s",name,message[length])   console_print(id,"%s :   %s",name,message[length]) } else{*/ show_hudmessage(0,message[length]) client_print(0,print_notify,message[length]) console_print(id,message[length]) //}
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-13-2005 , 00:46  
Reply With Quote #4

Thanks Avalanche...I will hack on that .sma tomorrow at work. And thanks for trying fidelity, you understood exactly what I was asking.
Trip~Hazard is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-17-2005 , 03:08  
Reply With Quote #5

Well I tried that code change Avalanche and had no success. It gave me about 3 warnings for "loose indentations" while compiling. An .amxx was created but it didn't stop the admins name from showing on server messages. Any suggestions?
Trip~Hazard is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-17-2005 , 13:16  
Reply With Quote #6

Server messages as in csays and tsays, or are you doing other admin text commands?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-18-2005 , 00:21  
Reply With Quote #7

csays & tsays
Trip~Hazard is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-18-2005 , 13:43  
Reply With Quote #8

Well, did you put the .amxx file in the plugins folder? ;-)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 01-19-2005 , 00:23  
Reply With Quote #9

lol yea. I overwrote the existing adminchat.amxx with the newly compiled one and all server says were unchanged. It could be that me simply cut/pasting your recommended change into my .sma somehow messes up the structure or something. It does give a couple "loose indentation" warnings while compiling.

Do you have a working .sma or .amxx that you could either provide as an attachment or send to me by email? Thanks for your help on this.
Trip~Hazard is offline
Da Bishop
Senior Member
Join Date: Aug 2004
Location: Chester County PA
Old 01-19-2005 , 15:04  
Reply With Quote #10

loose indents are nothing don't worry about them .... did you happen to restart your server or change the map after writing over the .amxx file ?
__________________
Anything that is done can only be done better by urself - since life is a opinion make it the way urs feel its best

~live by it
Da Bishop is offline
Send a message via MSN to Da Bishop
Reply



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 19:22.


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