Garry's Mod Wiki

Tool:SetOperation

Tool:SetOperation

  Tool:SetOperation( number operation )

Description

Sets the current operation of the tool. Does nothing clientside. See also Tool:SetStage.

Operations and stages work as follows:

  • Operation 1
    • Stage 1
    • Stage 2
    • Stage 3
  • Operation 2
    • Stage 1
    • Stage 2
    • Stage ...

Arguments

1 number operation
The new operation ID to set.

Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 6