Play sound twice
#1

I've tried something like this and it's only playing once.:

pawn Код:
stock RingNearPlayer(playerid)
{
    foreach(Player, i)
    {
        if(PlayerNearPlayer(10.0, playerid, i))
        {
            PlaySound(i, 1138);
            PlaySound(i, 1138);
            SCMEx(i, COLOR_PURPLE, "* %s's phone rings.", GetRPName(playerid));
        }
    }
}
Reply


Messages In This Thread
Play sound twice - by PaulDinam - 01.07.2013, 22:55
Re: Play sound twice - by MP2 - 01.07.2013, 23:07
Re: Play sound twice - by PaulDinam - 02.07.2013, 13:02

Forum Jump:


Users browsing this thread: 1 Guest(s)