Garry's Mod Wiki

Revision Difference

Entity:StopSound#526968

<function name="StopSound" parent="Entity" type="classfunc"> <description> Stops emitting the given sound from the entity, especially useful for looping sounds. The sound that is stopped must have previously been defined via sound.Add⤶ Stops emitting the given sound from the entity, especially useful for looping sounds. </description> <realm>Shared</realm> <args> <arg name="sound" type="string">The name of the sound script or the filepath to stop playback of.</arg> </args> </function>