Raised This Month: $ Target: $400
 0% 

use only 2 channels ?¿


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 23:26.


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