45 this.vehicle_health = -1;
46 Damage(
this,
this,
this, 1 , DEATH_KILL.m_id,
DMG_NOWEP,
this.origin,
'0 0 0');
60 Damage(
this,
this,
this, 100000, DEATH_KILL.m_id,
DMG_NOWEP,
this.origin,
'0 0 0');
67 if (game_stopped || (this.
owner.alpha < 0 && !
this.owner.vehicle))
88 Send_Notification(NOTIF_ONE, this.
owner, MSG_ANNCE, Announcer_PickNumber(CNT_KILL, this.
cnt));
107 killtime =
M_ARGV(1,
float);
110 killtime =
min(killtime, 1);
128 antispam_delay =
min(antispam_delay, 2);
154 it.killindicator = new(killindicator);
155 it.killindicator.owner = it;
156 it.killindicator.scale = 0.5;
157 setattachment(it.killindicator, it,
"");
158 setorigin(it.killindicator,
'0 0 52');
159 setthink(it.killindicator, KillIndicator_Think);
160 it.killindicator.nextthink = starttime + (it.lip) * 0.05;
162 it.killindicator.cnt = ceil(killtime);
173 notif = CENTER_TEAMCHANGE_SUICIDE;
175 else if (targetteam == -1)
178 notif = CENTER_TEAMCHANGE_AUTO;
180 else if (targetteam == -2)
183 notif = CENTER_TEAMCHANGE_SPECTATE;
191 Send_Notification(NOTIF_ONE_ONLY,
this, MSG_CENTER, notif, this.
killindicator.cnt);
#define CSQCMODEL_EF_RESPAWNGHOST
void ClientKill_TeamChange(entity this, float targetteam)
#define APP_TEAM_NUM(num, prefix)
#define round_handler_IsActive()
#define IL_EACH(this, cond, body)
vector Team_ColorRGB(int teamid)
void ClientKill(entity this)
int killindicator_teamchange
float autocvar_g_balance_kill_delay
void ClientKill_Now(entity this)
void TeamBalance_JoinBestTeam(entity player)
Assigns the given player to a team that will make the game most balanced.
#define round_handler_IsRoundStarted()
void ClientKill_Silent(entity this, float _delay)
void Player_SetTeamIndexChecked(entity player, int team_index)
Sets the team of the player with all sanity checks.
#define IS_REAL_CLIENT(v)
#define setmodel(this, m)
void PutObserverInServer(entity this, bool is_forced, bool use_spawnpoint)
putting a client as observer in the server
void ClientKill_Now_TeamChange(entity this)
void Damage(entity targ, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
int Team_TeamToIndex(int team_num)
Converts team value into team index.
float autocvar_g_maxplayers_spectator_blocktime
entity Notification
always last
#define MUTATOR_CALLHOOK(id,...)
void vehicles_exit(entity vehic, bool eject)
void KillIndicator_Think(entity this)
float clientkill_nexttime
float autocvar_g_balance_kill_antispam