AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   How do I... (https://forums.alliedmods.net/showthread.php?t=86904)

Dodgy Bob 03-04-2009 04:14

How do I...
 
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.

blakeoxx 03-12-2009 18:33

Re: How do I...
 
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).


All times are GMT -4. The time now is 17:35.

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