26.02.2012, 22:15
OnPlayerUpdate:
That code will work
pawn Код:
public OnPlayerUpdate(playerid)
{
if(!GetPlayerInterior(playerid) == 0)
{
PlayAudioStreamForPlayer(playerid, "yourlink");
}
else
{
StopAudioStreamForPlayer(playerid);
}
return 1;
}