The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound Issues
Gamemakingdude Offline
Senior Member

Posts: 470
Threads: 82
Joined: Nov 2010
Reputation: 9
#1
Sound Issues

PHP Code: (Select All)
void HammerScare(string &in entitystring &in type)
{
  
AddPropImpulse("sledge_1"30520"world");
  
PlaySoundAtEntity("FistPump""FistPump.snt","Player"0false);


This plays the sound.

<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="FistPump.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>

The snt file. Its called FistPump.snt

Why isnt the sound working in the game?

Rep if like me or im helpful or you love my stories!
Stephanos house
10-06-2011, 06:32 AM
Find


Messages In This Thread
Sound Issues - by Gamemakingdude - 10-06-2011, 06:32 AM
RE: Sound Issues - by Tanshaydar - 10-06-2011, 06:41 AM
RE: Sound Issues - by Gamemakingdude - 10-06-2011, 06:42 AM
RE: Sound Issues - by Tanshaydar - 10-06-2011, 07:03 AM
RE: Sound Issues - by Gamemakingdude - 10-06-2011, 07:36 AM



Users browsing this thread: 1 Guest(s)