Garry's Mod Wiki

Entity:SetLayerPlaybackRate

  Entity:SetLayerPlaybackRate( number layerID, number rate )

Description

Sets the layer playback rate. See also Entity:SetLayerDuration.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID
2 number rate
The new playback rate.