Raised This Month: $51 Target: $400
 12% 

How do I...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dodgy Bob
Junior Member
Join Date: Jan 2009
Old 03-04-2009 , 04:14   How do I...
Reply With Quote #1

Hi all,

I've had a search and a look but couldn't find what I was after so resorted to asking the question.

I'd like to be able to play a built-in sound in L4D, for example the car alarm noise. How do I do this and where can I find a list of the built-in sounds?

Thanks for your time.

Bob.
Dodgy Bob is offline
blakeoxx
Member
Join Date: Jan 2009
Old 03-12-2009 , 18:33   Re: How do I...
Reply With Quote #2

look around in the /sound directory. All sounds can be found there.

As for playing them, use PrecacheSound (http://docs.sourcemod.net/api/index....ad=show&id=111) and EmitSound (http://docs.sourcemod.net/api/index....ad=show&id=679).
blakeoxx is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode