Garry's Mod Wiki

Revision Difference

Entity:StopSound#526351

<function name="StopSound" parent="Entity" type="classfunc"> <description> Stops emitting the given sound from the entity, especially useful for looping sounds. <warning> Filepaths are only able to be used on the Development branch of the Game. next update </warning> </description> <realm>Shared</realm> <args> <arg name="soundscript or filepath" type="string">The name of the sound script or the filepath to stop playback of.</arg> <arg name="sound" type="string">The name of the sound script or the filepath to stop playback of.</arg> </args> </function>