Garry's Mod Wiki

GetAddonStatus

  boolean, boolean GetAddonStatus()

Description

Returns if the game was started with either -noaddons or -noworkshop

Returns

1 boolean noaddons
true if the game was started with -noaddons. (see Command_Line_Parameters)
2 boolean noworkshop
true if the game was started with -noworkshop. (see Command_Line_Parameters)