Raised This Month: $ Target: $400
 0% 

Score in server name(hostname)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joblessuser
Member
Join Date: May 2013
Old 09-23-2013 , 05:40   Score in server name(hostname)
Reply With Quote #1

I found a plugin called Hostname Timeleft it shows remaining time in the server name. But i want to display the score instead of timeleft. Is it possible?
joblessuser is offline
akash_guptacosmos
Senior Member
Join Date: May 2013
Location: India,Kolkata
Old 09-23-2013 , 12:06   Re: Score in server name(hostname)
Reply With Quote #2

Score? what score?
There are a lot of players play at a time?
Server total round or what?
__________________
Quote:
Originally Posted by joropito View Post
I use orpheu to cook pizza
Like my page Please

https://www.facebook.com/LolXdTRolled
akash_guptacosmos is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 09-23-2013 , 13:33   Re: Score in server name(hostname)
Reply With Quote #3

maybe

My * Noob * Server - T:10 | CT:1

explain more,,
sami_spt is offline
joblessuser
Member
Join Date: May 2013
Old 09-23-2013 , 14:23   Re: Score in server name(hostname)
Reply With Quote #4

For Example:
My Dedicated server (1st Half 2-4).
joblessuser is offline
twiister
Senior Member
Join Date: Mar 2013
Location: Argentina
Old 09-23-2013 , 14:31   Re: Score in server name(hostname)
Reply With Quote #5

PHP Code:
public round_end(id){
    
    
    if 
PlugActivo   {    
        if(
getactualhostame == false)    {
            
            
get_cvar_string("hostname"originhost,sizeof originhost )
            
            
getactualhostame true
        
}
        
        if(
get_pcvar_num(g_HOST)) {
            
format(nuevohost,sizeof nuevohost 1,"%s  CT: %i - TT: %i"originhost, (ct_win totalCT), (tt_win totalTT) )
            
set_cvar_string("hostname"nuevohost)
        }
        else if (!
get_pcvar_num(g_HOST)) {
            
set_cvar_string("hostname"originhost)
        } 
a little as this?
twiister is offline
joblessuser
Member
Join Date: May 2013
Old 09-23-2013 , 14:59   Re: Score in server name(hostname)
Reply With Quote #6

Quote:
Originally Posted by twiister View Post
PHP Code:
public round_end(id){
    
    
    if 
PlugActivo   {    
        if(
getactualhostame == false)    {
            
            
get_cvar_string("hostname"originhost,sizeof originhost )
            
            
getactualhostame true
        
}
        
        if(
get_pcvar_num(g_HOST)) {
            
format(nuevohost,sizeof nuevohost 1,"%s  CT: %i - TT: %i"originhost, (ct_win totalCT), (tt_win totalTT) )
            
set_cvar_string("hostname"nuevohost)
        }
        else if (!
get_pcvar_num(g_HOST)) {
            
set_cvar_string("hostname"originhost)
        } 
a little as this?
I'm getting compiling error can u please modify it.
joblessuser is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 09-23-2013 , 15:04   Re: Score in server name(hostname)
Reply With Quote #7

This is not the full plugin .. Its just the main function .. You need to do the rest by yourself
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
joblessuser
Member
Join Date: May 2013
Old 09-23-2013 , 15:14   Re: Score in server name(hostname)
Reply With Quote #8

Can you make it complete because i'm new to programming stuffs and i dont know anything.
joblessuser is offline
joblessuser
Member
Join Date: May 2013
Old 09-24-2013 , 00:37   Re: Score in server name(hostname)
Reply With Quote #9

Finally i found the plugin but can anyone include match half(1st half / 2nd half)?
joblessuser is offline
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 07:24.


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