Skip to content

Simple block sounds #13

@adamnejm

Description

@adamnejm

Just to prevent minges doing mingy things

local blacklist = {
	gmod_thruster = true,
	gmod_wire_thruster = true,
	gmod_wire_vectorthruster = true,
	gmod_wire_painter = true,
}

hook.Add("EntityEmitSound", "psb_sounds", function(data)
	if blacklist[data.Entity:GetClass()] then return false end
end)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions