How to play a sound at a given location?
I mean the explosion caused bulletTrace, explosion does not have any model...
Please help me someone.
Printable View
How to play a sound at a given location?
I mean the explosion caused bulletTrace, explosion does not have any model...
Please help me someone.
You can look at std/utils::playSoundOnPosition
Code:playSoundOnPosition(position, name)
{
ent = spawn("script_origin", position);
ent playSound(name);
ent delete();
}
Very thanks ,really ;) You are good man :D