Stop play sound
#1

Hi all
I made a code so when a player join, their is a sound that's play, exaple:
Код:
public OnPlayerConnect(playerid)
	{
	PlayerPlaySound(playerid, 1185, 0.0, 0.0, 10.0);
	return 1;
}
It does'nt stop, it plays forever. I don't now how to fix it, can anyone help me?
Reply
#2

maybe
https://sampwiki.blast.hk/wiki/StopAudioStreamForPlayer
Reply
#3

Quote:
Originally Posted by |_ⒾⓇⓄN_ⒹⓄG_|
Посмотреть сообщение
its a sound id, not a stream, butt thanks
Reply
#4

just create a little sound to stop that one...
easy
Reply
#5

Quote:
Originally Posted by |_ⒾⓇⓄN_ⒹⓄG_|
Посмотреть сообщение
just create a little sound to stop that one...
easy
Thankyou, i did'nt think about that!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)