public llPlaySound ( string sound, double volume ) : void | ||
sound | string | |
volume | double | |
return | void |
public void llPlaySound(string sound, double volume)
{
if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;
// send the sound, once, to all clients in range
m_host.SendSound(KeyOrName(sound, true).ToString(), volume, false, 0, 0, false, false);
}