Garry's Mod Wiki

Tool:GetServerInfo

  string Tool:GetServerInfo( string name )

Description

Attempts to grab a serverside tool ConVar. This will not do anything on client, despite the function being defined shared.

Arguments

1 string name
Name of the convar to retrieve. The function will automatically add the "mytoolfilename_" part to it.

Returns

1 string
The value of the requested ConVar.