SA-MP Forums Archive
Audio_Set3DPosition - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Audio_Set3DPosition (/showthread.php?tid=487842)



Audio_Set3DPosition - Riddick94 - 15.01.2014

I have looked on the internet, and I didn't found solution to my problem.

pawn Код:
// Global.
new handle.

// OnPlayerSpawn
handle = Audio_PlayStreamed(playerid, "link_here", false, true, true);
Audio_Set3DPosition(playerid, handle, 2491.9041, -1667.0217, 13.3438, 15.0);
It works just for me, not for any other players. Does anybody know why? I have also added MAX_PLAYERS to handle global variable, but it didn't worked.

edit:\\
downmix cannot be setted to true on Win7 (64bit). Fixed.