Files
wnsrc/gamemodes/ixhl2rp/plugins/stalkers/sv_hooks.lua
lifestorm c6d9b6f580 Upload
2024-08-05 18:40:29 +03:00

33 lines
823 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local PLUGIN = PLUGIN
function PLUGIN:PlayerTick(client)
if (client:Team() == FACTION_STALKER) then
if (!client.nextSound or (CurTime() >= client.nextSound)) then
client.nextSound = CurTime() + math.random(60, 180)
client:EmitSound("npc/stalker/breathing3.wav", 65)
end
end
end
function PLUGIN:GetPlayerPainSound(client)
if (client:Team() == FACTION_STALKER) then
return ""
end
end
function PLUGIN:GetPlayerDeathSound(client)
if (client:Team() == FACTION_STALKER) then
return ""
end
end