[HELP] playerplaysound
#6

Код:
SOUND_GOGO_TRACK_START	 1062 (music)
SOUND_GOGO_TRACK_STOP	 1063 (music)
SOUND_DUAL_TRACK_START	 1068 (music)
SOUND_DUAL_TRACK_STOP	 1069 (music)
SOUND_BEE_TRACK_START	 1076 (music)
SOUND_BEE_TRACK_STOP	 1077 (music)
SOUND_AWARD_TRACK_START	 1097 (music)
SOUND_AWARD_TRACK_STOP	 1098 (music)
SOUND_DRIVING_AWARD_TRACK_START	 1183 (music)
SOUND_DRIVING_AWARD_TRACK_STOP	 1184
SOUND_BIKE_AWARD_TRACK_START	 1185 (music)
SOUND_BIKE_AWARD_TRACK_STOP	 1186
SOUND_PILOT_AWARD_TRACK_START	 1187 (music)
SOUND_PILOT_AWARD_TRACK_STOP	 1188
Source: https://sampwiki.blast.hk/wiki/Sounds

As you can see above, each (looping) music track has its corresponding 'stop' track which will stop the track from playing. I think you can just use one 'stop' track to stop any track completely but I can't completely confirm that just yet.

Eg.
pawn Код:
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
Would require:
pawn Код:
PlayerPlaySound(playerid, 1063, 0.0, 0.0, 0.0);
In order to stop the sound, as mentioned above.
Reply


Messages In This Thread
[HELP] playerplaysound - by Luca12 - 15.06.2014, 13:28
Re: [HELP] playerplaysound - by RenovanZ - 15.06.2014, 13:31
Re: [HELP] playerplaysound - by ThatThoseTheThy - 15.06.2014, 13:33
Re: [HELP] playerplaysound - by Luca12 - 15.06.2014, 13:55
Re: [HELP] playerplaysound - by Parallex - 16.06.2014, 05:13
Re: [HELP] playerplaysound - by Threshold - 16.06.2014, 06:42
Re: [HELP] playerplaysound - by Luca12 - 16.06.2014, 07:39

Forum Jump:


Users browsing this thread: 1 Guest(s)