SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 22/09/2017, 11:53 AM   #1
JR_Junior
Huge Clucker
 
Join Date: Nov 2011
Location: Brazil
Posts: 226
Reputation: 54
Default PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds.

Hello!
The PlayerPlaySound(playerid, 0, 0.0, 0.0, 0.0); It does not work to stop all sounds, like several sounds above ID 1000.
JR_Junior is offline   Reply With Quote
Old 22/09/2017, 03:32 PM   #2
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,717
Reputation: 127
Default Re: PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds.

I'm not sure if it'll work, but try playing sound ID 1 and then ID 0 after that.
__________________
BeckzyBoi is offline   Reply With Quote
Old 22/09/2017, 06:56 PM   #3
JR_Junior
Huge Clucker
 
Join Date: Nov 2011
Location: Brazil
Posts: 226
Reputation: 54
Default Re: PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds.

FIXED: Using invalid/inexistent sound ID works fine.

Sounds 4204-4399 are invalid or inexistent.

So, after playing the sound 9200(Fire Alarm) I'm using 4204 to stop it!
JR_Junior is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PlayerPlaySound Stop Blackazur Scripting Help 3 23/02/2014 11:07 PM
PlayerPlaySound use of more sounds? Mado Scripting Help 0 10/01/2013 07:28 AM
[Question] How to stop PlayerPlaySound? KfirRP Help Archive 4 03/08/2011 11:48 AM
PlayerPlaySound How do i stop it? aspire5630 Help Archive 8 26/07/2009 10:17 AM


All times are GMT. The time now is 01:50 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.