View Single Post
Author Message
liryck
Senior Member
Join Date: Mar 2007
Location: Venezuela
Old 06-15-2011 , 16:48   use only 2 channels ?¿
Reply With Quote #1

hello there this code comes from plugins, i wanna know if you guys can remake, or if there is a possible to use 2 channels and not 4 in this code.

i want to display something else at the same time, but well 4 channels are in use, and in ESEA - esportsea i saw that them display more than 4 things at time.

PHP Code:
public pug_ready_display_really(Float:hold_time)
{
    static 
readys[1056], notreadys[1056], name[32]

    
readys[0] = '^0'
    
notreadys[0] = '^0'

    
static Players[32]
    new 
playerCountiplayer
    get_players
(PlayersplayerCount"ch")
    for (
i=0i<playerCounti++)
    {
        
player Players[i]
        
get_user_name(player,name,31)

        if(
pug_players_ready[player]) format(readys,1054,"%s%s^n",readys,name)
        else 
format(notreadys,1054,"%s%s^n",notreadys,name)
    }

    new 
minplayers GET_CVAR_MINPLAYERS()

    
set_hudmessage(025500.750.0700.0hold_time0.00.03)
    
show_hudmessage(0,"Players Not Ready (%d of %d) :",pug_get_players() - pug_total_ready,minplayers )

    
set_hudmessage(025500.080.0700.0hold_time0.00.02)
    
show_hudmessage(0,"Players Ready (%d of %d) :",pug_total_ready,minplayers)

    
set_hudmessage(2552552250.080.1000.0hold_time0.00.01)
    
show_hudmessage(0,readys,1055)

    
set_hudmessage(2552552250.750.1000.0hold_time0.00.04)
    
show_hudmessage(0,notreadys,1055)


Last edited by liryck; 06-15-2011 at 16:50.
liryck is offline
Send a message via MSN to liryck