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: 32ms

DB GetPage 7
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 9