steamworks/ViewFile

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=ViewFile |Parent=steamworks |Description=Opens the workshop website for specified Steam Workshop addon in the Steam overlay browser. |Realm=Client |IsClass=N...")
 
m
Line 2: Line 2:
 
|Name=ViewFile
 
|Name=ViewFile
 
|Parent=steamworks
 
|Parent=steamworks
|Description=Opens the workshop website for specified Steam Workshop addon in the Steam overlay browser.
+
|Description=Opens the workshop website for specified Steam Workshop item in the Steam overlay browser.
 
|Realm=Client
 
|Realm=Client
 
|IsClass=No
 
|IsClass=No
Line 12: Line 12:
 
}}
 
}}
 
{{Example
 
{{Example
| Description = Opens web page of Gm_construct_Beta Steam Workshop addon in Steam overlay browser.
+
|Description=Opens web page of Gm_construct_Beta Steam Workshop addon in Steam overlay browser.
| Code = steamworks.ViewFile( 21197 )
+
|Code=steamworks.ViewFile( 21197 )
| Output = N/A
+
 
}}
 
}}

Revision as of 13:51, 22 April 2014

 steamworks.ViewFile( )

Contents

Description

Opens the workshop website for specified Steam Workshop item in the Steam overlay browser.

Arguments

string workshopItemID

The ID of workshop item.

Examples

Example

Opens web page of Gm_construct_Beta Steam Workshop addon in Steam overlay browser.

steamworks.ViewFile( 21197 )


Personal tools
Navigation