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 playerCount, i, player
get_players(Players, playerCount, "ch")
for (i=0; i<playerCount; i++)
{
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(0, 255, 0, 0.75, 0.07, 0, 0.0, hold_time, 0.0, 0.0, 3)
show_hudmessage(0,"Players Not Ready (%d of %d) :",pug_get_players() - pug_total_ready,minplayers )
set_hudmessage(0, 255, 0, 0.08, 0.07, 0, 0.0, hold_time, 0.0, 0.0, 2)
show_hudmessage(0,"Players Ready (%d of %d) :",pug_total_ready,minplayers)
set_hudmessage(255, 255, 225, 0.08, 0.10, 0, 0.0, hold_time, 0.0, 0.0, 1)
show_hudmessage(0,readys,1055)
set_hudmessage(255, 255, 225, 0.75, 0.10, 0, 0.0, hold_time, 0.0, 0.0, 4)
show_hudmessage(0,notreadys,1055)
}