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

How to change hostname on rank command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ciprulz
Junior Member
Join Date: May 2015
Location: Madrid
Old 06-29-2015 , 00:05   How to change hostname on rank command
Reply With Quote #1

Hello,

I want to change these lines, for example, when i type rank or kpd shows me these:

nick is on rank 2 of 166 with 384 kills!
nick has 384 : 371 frags, 146 headshots (38%),19% accuracy, and a KD-Radio of 1.04

I want to put the SERVER NAME before the rank/kpd answer.

Example:

If i have two servers running with hlstatsx, with diffrent names like:

server1.example.com
server2.example.com

When i connect to server1.example.com and type rank/kpd, i want to get this answer from hlstatsx:

server1.example.com: nick is on rank 2 of 166 with 384 kills!
server1.example.com: nick has 384 : 371 frags, 146 headshots (38%),19% accuracy, and a KD-Radio of 1.04

and when i connect to server2.example.com and type rank/kpd, i want to get this answer from hlstatsx:

server2.example.com: nick is on rank 2 of 166 with 384 kills!
server2.example.com: nick has 384 : 371 frags, 146 headshots (38%),19% accuracy, and a KD-Radio of 1.04
ciprulz is offline
ciprulz
Junior Member
Join Date: May 2015
Location: Madrid
Old 06-29-2015 , 23:36   Re: How to change hostname on rank command
Reply With Quote #2

No longer necessary. I found the solution, thanks.

Moderators, mark this thread as solved

Last edited by ciprulz; 06-29-2015 at 23:37.
ciprulz is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-30-2015 , 15:20   Re: How to change hostname on rank command
Reply With Quote #3

In order to comply with the AlliedModders Rules, could you please share the solution for others to find if they experience the same issue?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
mo0n_sniper
Junior Member
Join Date: Apr 2014
Old 09-17-2015 , 05:38   Re: How to change hostname on rank command
Reply With Quote #4

I am curious about the solution also.
mo0n_sniper is offline
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 04:24.


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