rg_send_death_message

Signature
native rg_send_death_message(const pKiller, const pVictim, const pAssister, const pevInflictor, const killerWeaponName[], const DeathMessageFlags:iDeathMessageFlags, const KillRarity:iRarityOfKill);
Description

Sends death messages to all players, including info about the killer, victim, weapon used,

extra death flags, death position, assistant, and kill rarity using the CHalfLifeMultiplay::SendDeathMessage function.

Parameters
  • pKiller — Killer index (if any).
  • pVictim — Victim index.
  • pAssister — Assisting player index (if any).
  • pevInflictor — Inflictor entity. 0 = world
  • killerWeaponName — The name of the weapon used by the killer.
  • iDeathMessageFlags — Flags indicating extra death message info, see DeathMessageFlags enum in cssdk_const.inc
  • iRarityOfKill — An bitsums representing the rarity classification of the kill, see KillRarity enum in cssdk_const.inc
No return value
Назад
Верх