01.03.2010, 11:31
Quote:
Originally Posted by Incognito
Raphinity: Thanks, it's been fixed. I updated the first post with a new client version that you can just install over your current one. I also fixed a few other small bugs, but nothing major.
SiJ: You probably aren't transferring the audio pack. Look on the previous page—someone had a similar problem. Wicko: You can start the audio stream paused, set its 3D position or volume, and then resume it. Granted, that will be a little slower than sending all of the commands at once, but it should work just as well (depending on how you're using it, of course). It would be pretty easy to make an Audio_PlayEx native, though. I'm not sure I quite understand your second problem. 3D positioning is all client-side—the server just sends the game coordinates and distance one time, so there's no need to check if they're nearby before using Audio_Set3DPosition. I don't know if it's what you're looking for, but you can try using the area detection natives and callbacks in my streamer plugin for more efficient distance checking. |
I'm soo stupid
BTW I noticed that there are
Audio_AddPlayer()
Audio_RemovePlayer()
in audio.inc
What does they do?