Help song, choose charater. -
gtachile - 16.08.2009
Hello everyone, well I have a doubt I want to add a sound when you choose this character on my server. I already got the sound and try to put everything right, but what happens I have a problem when I choose the character after the music never stops.
Please help ..
Greetings.
Sorry for my bad english.
Re: Help song, choose charater. -
James_Alex - 16.08.2009
to stop the song try this
PlayerPlaySound(playerid, 1069, 0.0, 0.0, 0.0);
Re: Help song, choose charater. -
cyber_punk - 16.08.2009
In "OnPlayerSpawn" do PlaySound("whatever music id +1", x, y, z);
So whatever your music id play that id +1 so if it was 1200 you play 1201 to stop.
Re: Help song, choose charater. -
gtachile - 16.08.2009
The song is: PlayerPlaySound(playerid, 1183, 1958.3783, 1343.1572, 15.3746); Plzz add the +1.
Re: Help song, choose charater. -
Sergei - 16.08.2009
Quote:
Originally Posted by cyber_punk
In "OnPlayerSpawn" do PlaySound("whatever music id +1", x, y, z);
So whatever your music id play that id +1 so if it was 1200 you play 1201 to stop.
|
This is not true for all sounds, but only for musics:
https://sampwiki.blast.hk/wiki/SoundID
Re: Help song, choose charater. -
gtachile - 16.08.2009
This is the sound you want:
SOUND_DRIVING_AWARD_TRACK_START 1183 (music)
SOUND_DRIVING_AWARD_TRACK_STOP 1184
Please help put the sound in the beginning of the server when it chooses the character.
Re: Help song, choose charater. -
gtachile - 16.08.2009
Plz help..
Re: Help song, choose charater. -
cyber_punk - 16.08.2009
Quote:
Originally Posted by Sergiy
Quote:
Originally Posted by cyber_punk
In "OnPlayerSpawn" do PlaySound("whatever music id +1", x, y, z);
So whatever your music id play that id +1 so if it was 1200 you play 1201 to stop.
|
This is not true for all sounds, but only for musics: https://sampwiki.blast.hk/wiki/SoundID
|
I know that and said it was only on music, Chile its like this....
Under OnPlayerRequestClass put PlayerPlaySound(playerid, 1183, 0.0, 0.0, 0.0);
Now under OnPlayerSpawn put PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0);
And the music will stop playing...
Re: Help song, choose charater. -
gtachile - 17.08.2009
Quote:
Originally Posted by cyber_punk
Quote:
Originally Posted by Sergiy
Quote:
Originally Posted by cyber_punk
In "OnPlayerSpawn" do PlaySound("whatever music id +1", x, y, z);
So whatever your music id play that id +1 so if it was 1200 you play 1201 to stop.
|
This is not true for all sounds, but only for musics: https://sampwiki.blast.hk/wiki/SoundID
|
I know that and said it was only on music, Chile its like this....
Under OnPlayerRequestClass put PlayerPlaySound(playerid, 1183, 0.0, 0.0, 0.0);
Now under OnPlayerSpawn put PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0);
And the music will stop playing...
|
Men plz help the music never STOP..