#1

I use on player spawn id 1097 music
And how can i stop it when player spawn?
Reply
#2

Its a music right? Then you need to stop it. I think its id 1098 at OnPlayerSpawn. But not sure.
Reply
#3

I dont wanna change music i just wanna to music stop when player spawn
Reply
#4

Yes, sounds works like this:

You play sound XXX_XXX_PLAY(or START or whatever)
to stop the sound, you play XXX_XXX_STOP

So sound 1097 would be stopped by playing sound 1098.
Reply
#5

Yep, thats what i said. ID 1098 is a STOP signal for the server and he stops playing the music.
Reply
#6

Now music ever dont work
Reply
#7

Post your code.
Reply
#8

Quote:

PlayerPlaySound(playerid, 1097, -1262.8296,46.6005,32.882;
PlayerPlaySound(playerid, 1098, -1262.8296,46.6005,32.882;

I know is wrong
Reply
#9

Under OnPlayerConnect add PlayerPlaySound(playerid, 1097, -1262.8296,46.6005,32.882;
And under OnPlayerSpawn add PlayerPlaySound(playerid, 1098, -1262.8296,46.6005,32.882;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)