Small problem with spawn sound
#1

Lol i've small problem,i've added a small music when someone request class:

Код:
PlayerPlaySound(playerid, 1097, 0.0, 0.0, 0.0);
But when i press,spawn the music keep repeating.

Is that retarded or what?LOL
Reply
#2

when you spawn you need to stop the music
Reply
#3

You have to make the player play a sound that stops the sound that is playing on at the moment.

OnPlayerSpawn:

pawn Код:
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 10.0);
Reply
#4

on OnPlayerSpawn add:

pawn Код:
PlayerPlaySound(playerid, 1098, 0.0, 0.0, 0.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)