LUA скрипт [Neverlose] Enemy chat Revealer(source)

Начинающий
Статус
Оффлайн
Регистрация
12 Фев 2022
Сообщения
7
Реакции[?]
0
Поинты[?]
0
C:
IsAlive = function(t)
    return t:GetProp('m_iHealth') > 0   
end
Cheat.RegisterCallback('events',function(e)
    if e:GetName() ~= 'player_say' then return end
    local event = {
        ENTITY = EntityList.GetPlayerForUserID(e:GetInt('userid')),
        STRING_TEXT = e:GetString('text'),
        TEAMNUM = EntityList.GetPlayerForUserID(e:GetInt('userid')):GetProp("m_iTeamNum"),
        LOCATION = EntityList.GetPlayerForUserID(e:GetInt('userid')):GetProp("m_szLastPlaceName"),
        STRING_NAME = EntityList.GetPlayerForUserID(e:GetInt('userid')):GetName(),
        ALIVE = IsAlive(EntityList.GetPlayerForUserID(e:GetInt('userid'))),
    }
    if event.ENTITY:IsTeamMate() == true then return end
    Cheat.AddEvent((event.ALIVE == true and '' or ' *DEAD* ') .. (event.TEAMNUM == 2 and '(Terrorist) ' or '(Counter-Terrorist) ') .. event.STRING_NAME .. ' @ ' .. event.LOCATION .. ' : ' .. event.STRING_TEXT)
    print(' ● ' .. (event.ALIVE == true and '' or ' *DEAD* ') .. (event.TEAMNUM  == 2 and '(Terrorist) ' or '(Counter-Terrorist) ') .. event.STRING_NAME .. ' @ ' .. event.LOCATION .. ' : ' .. event.STRING_TEXT)
end)
 
Сверху Снизу