PDA

View Full Version : PrecacheScriptSound doesn't work


kadet.89
11-05-2014, 13:09
CS:S
PrecacheScriptSound("BuyPreset.CantBuy");
when I try to play the sound, I get this error:
SV_StartSound: BuyPreset.CantBuy not precached (0)
I tried to use detor for PrecacheScriptSound, but doesn't work either

Powerlord
11-05-2014, 13:15
What command are you using to play the sounds?

PrecacheScriptSound is meant to be paired with the EmitGameSound* family of functions.

kadet.89
11-05-2014, 13:17
IEngineSound ->EmitSound