Quote:
Originally Posted by Natsheh
I do suggest hiding(making them invisible to dead players) them using add to full pack forward.
Also this should be ..
PHP Code:
static id; id = iTarget;
while ((id = find_ent_by_class(id, "player" )) != iTarget )
{
if(get_team(id) != 2)
continue;
OrpheuSetParam(2, id);
break;
}

PHP Code:
if(get_team(this) == CS_TEAM_T && get_team(iTarget) == CS_TEAM_T) {
static gPlayers[32], pnum;
get_players(gPlayers, pnum, "ahe", "CT");
if(pnum > 0) OrpheuSetParam(2, gPlayers[0]);
}
|
Sorry, i didnt understand your sugestion in the first place but now I did. How can I make the players invisible using add to full pack forward?