View Single Post
Austinbots
Member
Join Date: Jan 2010
Old 07-31-2015 , 01:44   Re: How to play sound on command [CS:GO]
Reply With Quote #4

I don't know what the pick up sound is but
EmitSoundToAll()
works every time for me.

Quote:
Originally Posted by Jcrr View Post
Hello, i want that on that command:
PHP Code:
    RegConsoleCmd("TEST_COMMAND"TEST_FUNC);

public 
Action:TEST_FUNC(clientargs)
{
        
//here i want to have PICKUP SOUND
       
EmitSoundToAll("buttons/blip1.wav");

Like in code, when player will write TEST_COMMAND, he will hear PICKUP SOUND from CS:GO (ofc. on CSGO server)

Thanks in advance

Last edited by Austinbots; 07-31-2015 at 01:45.
Austinbots is offline