24.06.2016, 22:54
public OnPlayerUpdate(playerid)
{
if (IsPlayerInRangeOfPoint(playerid, 10.0, -261.05, 2227.15, 58.45))
{
PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/wos3db6jxt/The_XFiles_Theme.mp3",-261.05, 2227.15, 58.45, 2000.0, 1);
}
}
return 1;
}
When I'm at the point , the music start of many times
You can create a script that makes sure that when you're over there begins the music ?
{
if (IsPlayerInRangeOfPoint(playerid, 10.0, -261.05, 2227.15, 58.45))
{
PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/wos3db6jxt/The_XFiles_Theme.mp3",-261.05, 2227.15, 58.45, 2000.0, 1);
}
}
return 1;
}
When I'm at the point , the music start of many times
You can create a script that makes sure that when you're over there begins the music ?