01.07.2013, 22:55
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));
}
}
}