PlaySound
#1

I put this on OnPlayerRequestClass

Код:
PlayerPlaySound(playerid, 1185, 258.4893,-41.4008,1002.0234);
to play a sound on class selection. when i spawn the music didnt stop. every other sound id work ok.

help!!
Reply
#2

You need to stop it with 1186.
Reply
#3

how to do this?
Reply
#4

pawn Код:
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid,1186,0,0,0);
return 1;
}
That'd do the trick.
Reply
#5

Quote:
Originally Posted by Hiddos
pawn Код:
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid,1186,0,0,0);
return 1;
}
That'd do the trick.
thanks both of you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)