Ищу скрипт Killsay open source for skeet

Начинающий
Статус
Оффлайн
Регистрация
24 Июн 2023
Сообщения
83
Реакции[?]
17
Поинты[?]
6K
Код:
local userid_to_entindex = client.userid_to_entindex
local get_player_name = entity.get_player_name
local get_local_player = entity.get_local_player
local is_enemy = entity.is_enemy
local console_cmd = client.exec
 
local function on_player_death(e)
    local victim_userid, attacker_userid = e.userid, e.attacker
    if victim_userid == nil or attacker_userid == nil then
        return
    end
 
    local victim_entindex   = userid_to_entindex(victim_userid)
    local attacker_entindex = userid_to_entindex(attacker_userid)
 
    if attacker_entindex == get_local_player() and is_enemy(victim_entindex) then
        if e.headshot then
            console_cmd("say pidoras hs")
        else
            console_cmd("say pidoras")
        end
    end
end
 
client.set_event_callback("player_death", on_player_death)
 
Сверху Снизу