hi there i seek some help here :D
i got this script with a green Barrel That Emit The Sound Ravebreak.mp3
but when i delete The Barrel The Sound Dosnt Stop So emh
How Do i do So That When i Delete The Barrel Then It Stop the Song
function RaveBarrel( ply )
barrel=ents.Create("prop_physics")
barrel:SetModel("models/props_c17/oildrum001.mdl")
barrel:SetPos(ply:GetEyeTrace().HitPos)
barrel:Spawn()
barrel:EmitSound("Ravebreak.mp3",100,100)
barrel:SetColor(0, 255, 0, 255)
end
concommand.Add("Barrel", RaveBarrel)
[url=http://wiki.garrysmod.com/?title=CreateSound]G.CreateSound[/url] is what you're looking for.
[url=http://www.lousywriter.com/language_capital_letters.php]This is also what you should be looking for :smile:[/url]
Sorry, you need to Log In to post a reply to this thread.