Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Ищу скрипт Did_hit neverlose

Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Нихуя не понятно, в нле же есть хит флаг по умолчанию...
 
это?
code_language.lua:
Expand Collapse Copy
local Localplayer = entity.get_local_player()

local CanHit = function(entity)
    local damage, trace = utils.trace_bullet(entity, entity:get_eye_position(), Localplayer:get_eye_position())

    if damage > 0 and ((trace.entity and trace.entity == Localplayer) or false) then
    return true
    end

    return false
end
это?
code_language.lua:
Expand Collapse Copy
local Localplayer = entity.get_local_player()

local CanHit = function(entity)
    local damage, trace = utils.trace_bullet(entity, entity:get_eye_position(), Localplayer:get_eye_position())

    if damage > 0 and ((trace.entity and trace.entity == Localplayer) or false) then
    return true
    end

    return false
end
можеш по хитбоксам сделать
 
Назад
Сверху Снизу