02.02.2012, 13:38
IF you need position use all given params:
Should work
pawn Code:
forward MusicInArea(playerid);
public MusicInArea(playerid)
{
return PlayAudioStreamForPlayer(playerid, "http://project-ls.com/musica/China.mp3",2347.0178,-1980.7462,13.1768,31.0,1);
}
Code:
PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);