Debug help
Noobie question, how would I debug this code?
Code:
|
Re: Debug help
Quote:
|
I type in the command and get "Unknown Command: wav"
|
Maybe this..
Code:
|
"wav" isn't a Half-Life command, try using this line to get it to play instead:
Code:
|
Ah, okay, thanks much. I'll test it out now.
|
Well, I don't get the Unknown command error, but now it just doesn't do anything.
|
Oh, whoops, the spk command assumes you're already in the /sounds/ directory, so just make it /misc/%s.wav
|
Like so?
Code:
????? |
I believe so, just make sure you precache all of the sounds you are going to use. (Which, is about everything for a free-arg command huh?, so I advise changing that.)
|
| All times are GMT -4. The time now is 14:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.