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

DB GetPage 5
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 11