SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 30/09/2017, 03:13 AM   #1
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 551
Reputation: 230
Default PlayerPlaySound 0 doesn't stop the current track anymore

I have a script in which I use sound ID 37667, which plays Alright Smoke, let's go. See y'all later..
After about 120ms I use sound ID 0 to break off the sound early, so only Alright Smoke, let's go. is heard.
This worked perfectly with the previous client, however, with the new client sound ID 37667 just keeps playing and doesn't break off.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like Co-op Mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 30/09/2017, 03:23 AM   #2
Romz
Gangsta
 
Romz's Avatar
 
Join Date: Jun 2013
Posts: 986
Reputation: 55
Default Re: PlayerPlaySound 0 doesn't stop the current track anymore

I checked, it really is as described above. Most likely it is a bug which needs to be corrected.
Romz is offline   Reply With Quote
Old 01/10/2017, 09:53 AM   #3
niCe
Gangsta
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 604
Reputation: 289
Default Re: PlayerPlaySound 0 doesn't stop the current track anymore

I have noticed this too, however you can use for example sound ID 17900 to stop the previous sound instead.
__________________
[ENG] s2.gta-multiplayer.cz:7777 Singleplayer Features
[ENG] s3.gta-multiplayer.cz:7777 NEW Server! Singleplayer Features 2

- Many features from singleplayer - video trailer
- Pool and basketball minigames
- Poker Texas Holdem minigame
- Video game QUB3D from GTA 4
- Roulettes, blackjack, slot machines, video poker and horse-betting
- Stock market BAWSAQ from GTA 5
- Phone with a lot of features from GTA Online
- Missions similar to GTA Online - you can start missions from Big Smoke, Cesar or Woozie!
- Gang wars over 100 gang hoods
- More than 30 jobs (including police, paramedic, firefighter, burglar, pimp, valet and pizza-boy)
- Singleplayers races and other challenges
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and much more
niCe is offline   Reply With Quote
Old 02/10/2017, 05:42 PM   #4
BigETI
Gangsta
 
BigETI's Avatar
 
Join Date: Mar 2010
Location: Germany
Posts: 935
Reputation: 228
Default Re: PlayerPlaySound 0 doesn't stop the current track anymore

IDs less than 1000 can be stopped with that.
BigETI is offline   Reply With Quote
Old 04/11/2017, 05:55 PM   #5
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 551
Reputation: 230
Default Re: PlayerPlaySound 0 doesn't stop the current track anymore

Should be fixed in 0.3.8.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like Co-op Mission - [Other] List of all my work
Freaksken 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 problem xConnor Scripting Help 0 08/03/2014 09:08 AM
PlayerPlaySound Stop Blackazur Scripting Help 3 23/02/2014 11:07 PM
[Question] How to stop PlayerPlaySound? KfirRP Help Archive 4 03/08/2011 11:48 AM
Stop PlayerPlaySound on spawn cruising Help Archive 4 18/07/2011 03:00 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 02:54 PM.


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