Author Topic: Equip sound not working  (Read 513 times)

i made a script with equip sound base off of the l4d ak47 yet the sound dosnt play when i open weapon please help code and sound file name below
V

Code: [Select]
datablock AudioProfile(Famas_EquipSound)
{
   filename    = "./Famas Equip.wav";
   description = AudioClose3d;
   preload = true;
};
and
Code: [Select]
   // Initial start up state
stateName[0]                     = "Activate";
stateTimeoutValue[0]             = 0.15;
stateTransitionOnTimeout[0]       = "Ready";
stateSound[0] = FamasEquipSound;

there is no error in the console nothings in red its just not playing the noise
Sound file name
V


It appears to be that you forgot to add an underscore in your "Statesound".