Garry's Mod Wiki

ENTITY:SetAutomaticFrameAdvance

  ENTITY:SetAutomaticFrameAdvance( boolean enable )

Description

Toggles automatic frame advancing for animated sequences on an entity.

This has the same effect as setting the ENT.AutomaticFrameAdvance property. (See ENT structure)

Arguments

1 boolean enable
Whether or not to set automatic frame advancing.