Garry's Mod Wiki

Entity:SetLayerLooping

  Entity:SetLayerLooping( number layerID, boolean loop )

Description

Sets whether the layer should loop or not.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number layerID
The Layer ID
2 boolean loop
Whether the layer should loop or not.