Quote:
Originally Posted by kiki33hun
Count????? No count, read frist post please
|
Your title sais:
How to return dead ct players?
So? What should I understand?



MeRcyLeZZ said:
PHP Code:
// Get Alive CTs
fnGetAliveCTs()
{
static iCTs, id
iCTs = 0
for (id = 1; id <= g_maxplayers; id++)
{
if (g_isalive[id])
{
if (fm_cs_get_user_team(id) == FM_CS_TEAM_CT)
iCTs++
}
}
return iCTs;
}
Then,
Get Alive Counter-Terrorists will return the count of them. Sorry for that
__________________