Garry's Mod Wiki

steamworks.SetFilePlayed

  string steamworks.SetFilePlayed( string workshopid )

Description

Sets whether you have played this addon or not. This will be shown to the user in the Steam Workshop itself:

Arguments

1 string workshopid
The Steam Workshop item ID

Returns

1 string
Whatever you have put in as first argument