Garry's Mod Wiki

ENTITY:SetMaxYawSpeed

  ENTITY:SetMaxYawSpeed( number maxyaw )

Description

Sets the NPC max yaw speed. Internally sets the m_fMaxYawSpeed variable which is polled by the engine.

This is a helper function only available if your SENT is based on base_ai

Arguments

1 number maxyaw
The new max yaw value to set