AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] Play a song (https://forums.alliedmods.net/showthread.php?t=239994)

swapped 05-07-2014 01:47

[Solved] Play a song
 
i wanna play a song ( all song ) after the player is levelup :D

What method is more easy and efficient ?

client_cmd( id, "spk .....

or

emit_sound ...

???

fysiks 05-07-2014 03:51

Re: Play a song
 
They don't do the same thing. Based on your intention, I think you would want the former.

Backstabnoob 05-07-2014 04:19

Re: Play a song
 
Just adding that spk only plays the sound to the player you send the command to, while emit_sound creates an ambient sound which everyone close to the player can hear too.

swapped 05-07-2014 04:26

Re: Play a song
 
So i will use first method.

Thanks


All times are GMT -4. The time now is 09:44.

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