19.04.2012, 04:04
Quote:
|
1. The parameters for PlayAudioStreamForPlayer are (playerid, url[], Float
osX = 0.0, Float osY = 0.0, Float osZ = 0.0, Float:distance = 50.0, usepos = 0) - you have the last one set to 10. It should be 1 if you want to play it at certain coordinates. However, I would just use playerid and url if I were you, there's no need to set the position!2. You can't do pawn Код:
pawn Код:
|
Use
pawn Код:
PlayAudioStreamForPlayer(giveplayerid,"http://www.fileden.com/files/2012/4/18/3293679/Knocking%20on%20Wooden%20Door%20%20%20Sound%20Effect.mp3",x,y,z,distance,1);



osX = 0.0, Float