Sound Bug?
#1

pawn Код:
public TTD8()
{
    new playerid;
    PlayerPlaySound(playerid, 1135, 0.0, 0.0, 0.0);
    return 1;
}
All player feels the 1135 sound.

What is the problem?
Reply
#2

And WTF is that?

You are using a variable that is equal to 0, and then playing the sound to playerid 0?
Reply
#3

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
And WTF is that?

You are using a variable that is equal to 0, and then playing the sound to playerid 0?
O_O WFT. I do not understand!!
Reply
#4

1: Do you want all player to hear it?
2: If not, when do you want only the 1 person to hear it?
Reply
#5

1: NO.
PlayerPlaySound(playerid,...)

all hear this sound, but I want you to hear this sound are playerid
Reply
#6

pawn Код:
public OnPlayerSpawn(playerid)
{
    PlayerPlaySound(playerid, 1135, 0.0, 0.0, 0.0);
    return 1;
}
That should work, and play it for everyone, when they spawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)