Raised This Month: $ Target: $400
 0% 

use only 2 channels ?¿


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 06-15-2011 , 17:03   Re: use only 2 channels ?¿
Reply With Quote #1

Try this:

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.0, -1)
    
show_hudmessage(0,"Players Not Ready (%d of %d) :^n^n %s"pug_get_players() - pug_total_ready,minplayersnotreadys )

    
set_hudmessage(025500.080.0700.0hold_time0.00.0, -1)
    
show_hudmessage(0,"Players Ready (%d of %d) :^n^n %s"pug_total_ready,minplayersreadys)

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.

Last edited by bibu; 06-16-2011 at 00:59.
bibu 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 23:26.


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