Author Topic: My sound is not working.  (Read 611 times)

For some reason my sound is not working. What am I doing wrong?

-I got my .cs Datablock.
Code: [Select]
datablock AudioProfile(toiletSound)
{
   filename    = "./sound/toilet_flush.wav";
   description = AudioClose3d;
   preload = true;
};

-I checked my console.log for error
Loading Add-On: Sound_Toilet
Executing Add-Ons/Sound_Toilet/server.cs.
9 datablocks added.

-I got the description and the server.cs.
-I got it all in my zip file and in the add-ons folder.



I believe it would just be ./toilet_flush instead of ./sound/toilet_flush now.

Testing...
Modify: It doesn't show up in the Onactivate/Self/Playsound/
« Last Edit: August 11, 2008, 11:39:45 PM by Green Link »