Garry's Mod Wiki

Entity:SetLayerDuration

Entity:SetLayerDuration

  Entity:SetLayerDuration( number layerID, number duration )

Description

Sets the duration of given layer. This internally overrides the Entity:SetLayerPlaybackRate.

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID
2 number duration
The new duration of the layer in seconds.

Special Pages


Wikis

?

Render Time: 42ms

DB GetPage 23
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7