AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   client_cmd() (https://forums.alliedmods.net/showthread.php?t=57856)

Rolnaaba 07-12-2007 22:28

client_cmd()
 
if I do this:
Code:
client_cmd(0, "spk %s", mysound);
will all players have the sound played?

Deviance 07-12-2007 22:32

Re: client_cmd()
 
Yes, an example would be
Code:
client_cmd(0, "spk misc/lol")

Rolnaaba 07-12-2007 22:34

Re: client_cmd()
 
shouldnt it be misc/lol.wav?

Deviance 07-12-2007 22:35

Re: client_cmd()
 
Quote:

Originally Posted by Rolnaaba (Post 502718)
shouldnt it be misc/lol.wav?

You can do it without the ending .wav, it works aswell


All times are GMT -4. The time now is 21:33.

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