AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Playing Music (https://forums.alliedmods.net/showthread.php?t=159034)

Diegorkable 06-12-2011 05:27

[Help] Playing Music
 
Hey guys, whats the function command when scripting to play a song? Like, when I script a command that activates an event (ex: /event) i want to write in the script that it'll play a song when the command is written.
How do I do that?

Exolent[jNr] 06-12-2011 05:33

Re: [Help] Playing Music
 
Execute the command on player:
"spk soundfile.wav"
"mp3 play soundfile.mp3"

Whichever applies to your file type.


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

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