Untitled
public text v1 · immutableif (SERVER) then
function PlayerSounds( pl, text )
local fSound = ReadList(text)
if fSound ~= nil then
pl:EmitSound(fSound)
end
end
hook.Add( "PlayerSay", "psounds", PlayerSounds );
if (SERVER) then
function PlayerSounds( pl, text )
local fSound = ReadList(text)
if fSound ~= nil then
pl:EmitSound(fSound)
end
end
hook.Add( "PlayerSay", "psounds", PlayerSounds );