SoundID 50050 Not Playing
#2

There has to be a position of the sound.
pawn Код:
stock PlayerSound(playerid, soundid)
{
new
    Float: X,
    Float: Y,
    Float: Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid, soundid, X, Y, Z);
}
then use

pawn Код:
PlayerSound(50050, playerid);
Basically, your code is playing that sound at the coordinates 0,0,0 for your player, so you'd only hear it if you were at 0,0,0

Or just replace your line with
pawn Код:
new
        Float: X,
        Float: Y,
        Float: Z;
    GetPlayerPos(playerid, X, Y, Z);
    PlayerPlaySound(playerid, 10050, X, Y, Z);
Reply


Messages In This Thread
SoundID 50050 Not Playing - by NoahF - 23.04.2014, 21:49
Re: SoundID 50050 Not Playing - by Nathan_Taylor - 23.04.2014, 21:51
Re: SoundID 50050 Not Playing - by NoahF - 23.04.2014, 21:56
Re: SoundID 50050 Not Playing - by Nathan_Taylor - 23.04.2014, 21:56
Re: SoundID 50050 Not Playing - by Syncro - 23.04.2014, 21:57
Re: SoundID 50050 Not Playing - by Nathan_Taylor - 23.04.2014, 22:00
Re: SoundID 50050 Not Playing - by NoahF - 23.04.2014, 22:03
Re: SoundID 50050 Not Playing - by Nathan_Taylor - 23.04.2014, 22:22
Re: SoundID 50050 Not Playing - by Kar - 23.04.2014, 22:33
Re: SoundID 50050 Not Playing - by Pottus - 23.04.2014, 23:34

Forum Jump:


Users browsing this thread: 3 Guest(s)