Garry's Mod Wiki

Garry's Mod Wiki

  IGModAudioChannel:SetTime( number secs, boolean dont_decode = false )


Sets the sound channel to specified time ( Rewind to that position of the song ). Does not work on online radio streams.

Streamed sounds must have "noblock" parameter for this to work and IGModAudioChannel:IsBlockStreamed must return false.


1 number secs
The time to set the stream to, in seconds.
2 boolean dont_decode = false
Set to true to skip decoding to set time, and instead just seek to it which is faster. Certain streams do not support seeking and have to decode to the given position.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...