PlayerPlaySound
#1

Hi there,

Does anyone know of a way in which I can play two or more soundid's at the same time with PlayerPlaySound?

In single player if a sound played whilst another was currently active (like a siren) the first sound will play quieter and then continue on full volume once the overlapping soundid has finished.

I have tried to re-create the above using timers but it's just terrible.

Edit: maybe this would be better suited in the scripting help section, if an admin could move it please.
Reply
#2

maybe use timer?

pawn Код:
PlayerPlayerSound(playerid....
SetTimerEx("PlayAnother",....

forward PlayerAnother(playerid);
public PlayerAnother(playerid)
{
   PlayerPlayerSound(playerid...
   return 1;
}
Reply
#3

I have tried timers but it's just really inefficient. i was hoping that there maybe an unofficial fix out there somewhere.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)