View Full Version : Sound played at the outbreak.
Moczulak
5th February 2013, 15:00
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.
kung foo man
5th February 2013, 15:22
You can look at std/utils::playSoundOnPosition (http://killtube.org/downloads/cod2/exampleserver/main/std/utils.gsc)
playSoundOnPosition(position, name)
{
ent = spawn("script_origin", position);
ent playSound(name);
ent delete();
}
Moczulak
5th February 2013, 15:35
Very thanks ,really ;) You are good man :D
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.