01.08.2011, 09:05
Quote:
How to do this.. for player playing sound for players around playing 3D position sound? because.. it's playing for player two sounds at once.. and not too good result come out.
pawn Код:
pawn Код:
edit:// Maybe this could be like that? pawn Код:
edit2:// To remove 3D position i need again use foreach? pawn Код:
|
pawn Код:
stock Audio_Set3DPositionEx(playerid, audioid, Float:distance)
{
new Float:X, Float:Y, Float:Z;
Audio_Remove3DPosition(playerid, PlayerInfo[playerid][pAudio3DPlaying]);
PlayerInfo[playerid][pAudio3DPlaying] = Audio_Set3DPosition(playerid, audioid, X, Y, Z, distance);
return true;
}