Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 39ms

Session 0
DB GetPage 4
Generate Html 5
SaveChanges 16
Render Body 0
Render Sidebar 12