make_deathmsg
- Синтаксис
-
stock make_deathmsg(killer, victim, headshot, const weapon[]) { static msgid = 0; if (!msgid) { msgid = get_user_msgid("DeathMsg"); } message_begin(MSG_ALL, msgid, {0,0,0}, 0); write_byte(killer); write_byte(victim); new mod_name[32]; get_modname(mod_name, 31); if (equal(mod_name, "cstrike") || equal(mod_name, "czero") || equal(mod_name, "csv15") || equal(mod_name, "cs13")) write_byte(headshot); write_string(weapon); message_end(); return 1; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Creates a death message.