Garry's Mod Wiki

NPC:GetActivity

  number NPC:GetActivity()

Description

Returns the NPC's current activity.

Returns

1 number
Current activity, see ACT enum.