Hi i have script:
Code:
public ct()
{
static players[32], pnum;
get_players(players, pnum, "ae", "CT");
if(pnum>0)
random_ct(players[ random(pnum) ]);
}
and
Code:
public random_ct(id){
user_silentkill(id);
}
If i set command to say /kill - random CT will be dead. But if i set task, all players on the server are dead (CT and T) ...
Why ? I need only one CT die.