PlayerPlaySound
#1

well;
pawn Код:
public OnPlayerConnect(playerid)
{
PlayerPlaySound(playerid, ID, 0.0, 0.0, 10.0);
return 1;
}
the sound playing OnPlayerConnect
but
pawn Код:
public OnPlayerSpawn(playerid)
{
return 1;
}
It keeps playing the sound..
how can i stop the playersound while player spawns?
Reply
#2

Play an invalid sound id. I think one of them was 1169 or 1171.
Reply
#3

Quote:
Originally Posted by mike_1
Посмотреть сообщение
well;
pawn Код:
public OnPlayerConnect(playerid)
{
PlayerPlaySound(playerid, ID, 0.0, 0.0, 10.0);
return 1;
}
the sound playing OnPlayerConnect
but
pawn Код:
public OnPlayerSpawn(playerid)
{
return 1;
}
It keeps playing the sound..
how can i stop the playersound while player spawns?
Do this :
pawn Код:
OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid, 1184,x,y,z);
return 1;
}
1184 = SOUND_OFF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)