14.11.2010, 15:48
faz assim:
pawn Код:
public ChecarSom(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,x,y,z)) // coordenadas ,10.0 = distancia
{
PlayerPlaySound(playerid,1130, 0.0, 0.0, 10.0); //coordenadas
}
return true;
}