Hey, when I want the player to join spectator using this:
PHP Code:
public CmdSpectator(iPlayer)
{
cs_set_user_team(iPlayer, CS_TEAM_SPECTATOR);
ColorChat(iPlayer, GREY, "^4%s You joined ^4Spectator^1!", TAG)
}
But I also want to kill the player that joins spec, how do I kill him?